$content .= '<table class="form" border="0" cellpadding="0" cellspacing="0">'; $content .= '<tr><td style="width:150px;">Product Name</td><td>' . $products_brand['brand_name'] . ' - ' . $obj_product->category_name . ' - <span id="zade_name">' . $description[2]['products_name'] . '</a></td><td> </td></tr>'; $content .= '<tr><td>Product Keywords</td><td id="zade_keywords" colspan="2">' . $keywords_nice . '</td></tr>'; $content .= '<tr><td>Product Gender</td><td><select name="products_gender" class="input">' . loadComboListFromArray($class_pm->productGenderName(), null, $zade_gender) . '"</select></td><td> </td></tr>'; $content .= '<tr><td>Product Age Group</td><td><select name="products_agegroup" class="input">' . loadComboListFromArray($products_agegroup_options, null, $zade_agegroup) . '"</select></td><td> </td></tr>'; if ($catalog_zade !== false) { $content .= '<tr><td>Zalando Season</td><td><select name="zade_season" class="input">' . loadComboListFromArray($zade_season_options, null, $zade_season) . '</select></td><td> </td></tr>'; } if ($catalog_ebde !== false) { $ebay_name_suggestion = $obj_product->getEbayNameSuggestion($ebay_language_id); $ebay_name_suggestion_length = strlen($ebay_name_suggestion); $ebay_suggestion_rule = 'Name is auto generated from:<br />' . Product::getEbayNameSuggestionTemplate() . '<br />' . '<strong>« Click suggested name to use it</strong>!'; $info_icon = '<span class="help ui-icon ui-icon-info" style="float:right;" title="' . $ebay_suggestion_rule . '"></span>'; $suggestion_class = $ebay_name_suggestion_length > $ebay_name_max_chars ? 'red' : 'notice'; $content .= '<tr><td>Ebay Name Suggestion</td><td class="' . $table_2nd_column_widthclass . '">' . $info_icon . '<span id="ebde_name_suggest" class="blue pointer" title="Click to use this suggested name">' . $ebay_name_suggestion . '</span>' . '</td><td><div class="w080 tar ' . $suggestion_class . '">(' . $ebay_name_suggestion_length . ' chars)</div></td></tr>'; $content .= '<tr><td>Ebay Name to Upload</td><td class="' . $table_2nd_column_widthclass . '">' . '<input type="text" id="ebde_name" name="ebay_name" class="' . $table_2nd_column_widthclass . '" value="' . $obj_product->getEbayName($ebay_language_id) . '" />' . '<br /><span class="smallText notice">* Max characters allowed by eBay = ' . $ebay_name_max_chars . ' Chars</span>' . '</td><td><div id="ebde_name_length" class="w080 tar notice"> </div></td></tr>'; } $content .= '</table>'; $content .= '<h3 style="margin:20px 0 0 0;">Finalize Price using below module</h3>'; $content .= '<iframe src="/?open=products-price&pids=' . $products_id . '&hidemenu=true&hidecopyurl=true" width="1200" height="540" style="border:none;overflow:hidden;" scrolling="no"></iframe>'; $content .= '<div style="margin-top:20px;">'; if ($catalog_zade !== false) { $content .= '<div class="red bold" style="margin-bottom:5px;"><input id="chk_zade_active" type="checkbox" value="1" name="zade_active"' . $zade_active . ' /> <label for="chk_zade_active">Activate for upload to Zalando</label></div>'; } if ($catalog_ebde !== false) { $content .= '<div class="red bold"><input id="chk_ebde_active" type="checkbox" value="1" name="ebde_active"' . $ebde_active . ' /> <label for="chk_ebde_active">Activate for upload to eBay</label></div>'; } $content .= '</div>'; //$content .= '<div class="box ui-corner-all red" style="margin-top:5px;">Please activate only when all products data are 100% ready for upload to Zalando</div>'; $content .= '<div class="buttons-left"><input type="submit" name="submit" value="Save Changes" /></div>'; $content .= '</div>';