$product_sold_out = $tempProduct->product_sold_out; $product_category = $tempProduct->product_category; $product_new_arrival = $tempProduct->product_new_arrival; $product_order = $tempProduct->product_order; $product_date_added = $tempProduct->product_date_added; $product_size_type_id = $tempProduct->product_size_type_id; $product_visibility = $tempProduct->product_visibility; $product_delete = $tempProduct->product_delete; $product_alias = $tempProduct->product_alias; $page_title = $tempProduct->page_title; $page_description = $tempProduct->page_description; $page_keywords = $tempProduct->page_keywords; $language_code = 'EN'; $_cron->updateProductLang($id_param, $product_name, $product_sold_out, $product_category, $product_new_arrival, $product_order, $product_date_added, $product_size_type_id, $product_visibility, $product_delete, $product_alias, $page_title, $page_description, $page_keywords, $language_code); } $tempProductType = $_cron->getProductTypeLang($tempProduct->id); foreach ($tempProductType as $tempProductType) { $countProductType = $_cron->countProductTypeLang($tempProductType->type_id); if ($countProductType->rows == 0) { $id_param = $tempProductType->type_id; $product_id = $tempProductType->product_id; $type_code = $tempProductType->type_code; $type_name = $tempProductType->type_name; $type_price = $tempProductType->type_price; $color_id = $tempProductType->color_id; $type_description = $tempProductType->type_description; $type_sizefit = $tempProductType->type_sizefit; $type_information = $tempProductType->type_information; $type_weight = $tempProductType->type_weight; $type_new_arrival = $tempProductType->type_new_arrival; $type_image = $tempProductType->type_image;