', $currentlist_lastprod, $currentlist_nbprods, '
', $products, '
', $products_filtered, '
', $pms , '
', $sql, '
', $sql, $res , '
', $productsId , '
',$sql_getmeta ,'
', $prods2meta , '
', $selectedProducts , '
', $res , '
', $current_time, $first_updated_date, $recurrence, $current_time >= ( $first_updated_date + $recurrence ), '
', $currentlist_nbprods , '
', $currentlist_last_product, $first_from_current, $products, '
',$res_childs,'
The HTML message
',$msg,'
', $status, $pms ,'
', "product id: $product_id | asin: $asin /syncprod_update_product_meta", '
', 'pms', $status, $pms, '
', 'sync_msg_savedb', $sync_msg_savedb, '
', $asins, $country, $pms , '
', $asins, '
', $opMakeRequest , '
', $retProd , '
', $pasin , '
', $asins, $asins_updated, $asins_notfound , '
', $products, $country, '
-------------', "step: $step" ,'
', $msg, array_keys($prodsamz) ,'
=============================================================' ,'
', "product id: $product_id | asin: $asin | country: $country", 'asin_info', $asin_info_dbg ,'
', 'PRODUCT DOESN\'T NEED TO BE SYNCED.' ,'
', sprintf( 'PRODUCT NOT FOUND OR (%s ERROR: INVALID | THROTTLED)', $provider ) ,'
', 'GET PRODUCT VARIATIONS', $product_vars_dbg ,'
', sprintf( 'PRODUCT IS %s (from %s) /can_sync_variations = %s', strtoupper($product_type), $provider, (int) $can_sync_variations ) ,'
', sprintf( 'VARIABLE PRODUCT - variations_notfound - get variations from database, which don\'t exist on %s anymore - DELETE : %s', $provider, count($product_vars['variations_notfound']) ) ,'
', sprintf( "PRODUCT ( %s, %s ) DOESN'T NEED TO BE SYNCED.", $vv['current_post']['post_id'], $kk ) ,'
', sprintf( 'VARIABLE PRODUCT - variations_exist - get variations from amazon, which exist in database - UPDATE : %s', count($product_vars['variations_exist']) ) ,'
',$kk, $vv ,'
', $variation_item, $variation_item_formated ,'
', sprintf( 'VARIABLE PRODUCT - variations_new - get new variations from amazon, which don\'t exist in database - INSERT : %s', $product_vars['total_new'] ), 'ADDING NEW VARIATIONS IS MADE BELLOW IN \'VARIABLE PRODUCT - MAIN PARENT PRODUCT TO UPDATE\' BY PARAMETER product_vars' ,'
', 'VARIABLE PRODUCT - MAIN PARENT PRODUCT TO UPDATE' ,'
', $ret , '