Comesticage Posted November 1, 2013 Posted November 1, 2013 Hello all, I have a very noob question if you don't mind to help, Why are my product names for 2 products (out of the total 9) missing (see pictures below). When i click on the product, i can't find any way to edit and add the product names. Hope someone can help.. Regards,
♥14steve14 Posted November 1, 2013 Posted November 1, 2013 On the page in the images you need to click on one of the un named items then click edit. The new page opens and there is a box there where you can add the product name, which you must have missed. REMEMBER BACKUP, BACKUP AND BACKUP
Comesticage Posted November 1, 2013 Author Posted November 1, 2013 Hello, i went through everything the whole page. can't find the product name space for me to key in. it should be here...
De Dokta Posted November 1, 2013 Posted November 1, 2013 Hi, did you modify your admin/categories_php? The input field for the products name should be between the manufacturers pulldown and the products description field. But it isn't in your screenshoot! :wacko: So take a look into the file around line 533 (osC 2.3), where you should find code like this, which generates the input field for the products name: <td class="main"><?php if ($i == 0) echo TEXT_PRODUCTS_NAME; ?></td> <td class="main"><?php echo tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_input_field('products_name[' . $languages[$i]['id'] . ']', (isset($products_name[$languages[$i]['id']]) ? stripslashes($products_name[$languages[$i]['id']]) : tep_get_products_name($pInfo->products_id, $languages[$i]['id']))); ?></td> Greetz J.J.
Comesticage Posted November 2, 2013 Author Posted November 2, 2013 @@De Dokta and others, Can't find it. (maybe my add ons corrupted it) where should i add? can give me the line on what to edit? I did multiple add ons like "product tabs" "SEO tags" The code is too long to post here. =/
De Dokta Posted November 2, 2013 Posted November 2, 2013 Hi, okay if i look at your screenshot of the admin/categories.php i can see that you have the product manufacturer pulldown and then the products description textarea. Between these two passages some elements are missing: products name, products tax class, products price net and gross. In an unmodified categories.php the code looks like this: After: <tr> <td class="main"><?php echo TEXT_PRODUCTS_MANUFACTURER; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_pull_down_menu('manufacturers_id', $manufacturers_array, $pInfo->manufacturers_id); ?></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> (should be present in your file) you normally find this code: <?php for ($i=0, $n=sizeof($languages); $i<$n; $i++) { ?> <tr> <td class="main"><?php if ($i == 0) echo TEXT_PRODUCTS_NAME; ?></td> <td class="main"><?php echo tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_input_field('products_name[' . $languages[$i]['id'] . ']', (isset($products_name[$languages[$i]['id']]) ? stripslashes($products_name[$languages[$i]['id']]) : tep_get_products_name($pInfo->products_id, $languages[$i]['id']))); ?></td> </tr> <?php } ?> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr bgcolor="#ebebff"> <td class="main"><?php echo TEXT_PRODUCTS_TAX_CLASS; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_pull_down_menu('products_tax_class_id', $tax_class_array, $pInfo->products_tax_class_id, 'onchange="updateGross()"'); ?></td> </tr> <tr bgcolor="#ebebff"> <td class="main"><?php echo TEXT_PRODUCTS_PRICE_NET; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('products_price', $pInfo->products_price, 'onkeyup="updateGross()"'); ?></td> </tr> <tr bgcolor="#ebebff"> <td class="main"><?php echo TEXT_PRODUCTS_PRICE_GROSS; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('products_price_gross', $pInfo->products_price, 'onkeyup="updateNet()"'); ?></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <script type="text/javascript"><!-- updateGross(); //--></script> If not, you have no input fields for name, tax and price.... :wacko: To find out what happend with your file you could compare it with the unmodified original categories.php.... greetz J.J.
Comesticage Posted November 4, 2013 Author Posted November 4, 2013 @@De Dokta Thanks! I solved it! Time to back up!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.