osCmax v2.5 User Manual
Results 1 to 3 of 3

How to increase the field size of Product Name in the admin? DESPERATELY NEEDED FEATURE!

This is a discussion on How to increase the field size of Product Name in the admin? DESPERATELY NEEDED FEATURE! within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Hopefully this request can be added to the next version, but in the 2.0.25 version of the oscmax admin, the ...

      
  1. #1
    Member Shortbus's Avatar
    Join Date
    Jul 2010
    Posts
    56
    Rep Power
    2


    Default How to increase the field size of Product Name in the admin? DESPERATELY NEEDED FEATURE!

    Hopefully this request can be added to the next version, but in the 2.0.25 version of the oscmax admin, the field for the Product Name is too short. Depending which browser I use, I can see up to 22 characters, and considering all of my products have about 70 characters, it means a lot of extra click-n-scrolling.

    I know this is a simple fix, but I'm not finding the code where to make the field longer. Can anyone tell me where it's at?

    oscmax_characters.gif

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    1 out of 1 members found this post helpful.

    Default Re: How to increase the field size of Product Name in the admin? DESPERATELY NEEDED FEATURE!

    Open catalog/admin/categories.php and find:

    Code:
    <?php echo tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . '&nbsp;' . 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']))) .
    and change it to:

    Code:
    <?php echo tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . '&nbsp;' . 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'])), ' size="60"') .
    Which should give you enough room to read you products ...

    I have also incorporated this into v2.5 code. r1189 - oscmax2 - Project Hosting on Google Code

    Regards,
    pgmarshall
    _______________________________

  3. #3
    Member Shortbus's Avatar
    Join Date
    Jul 2010
    Posts
    56
    Rep Power
    2


    Default Re: How to increase the field size of Product Name in the admin? DESPERATELY NEEDED FEATURE!

    Awesome. Thanks.

    And, glad to know it was added to v2.5.

Similar Threads

  1. Increase and decrease the size of the text in the description of the products
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 11-03-2009, 10:00 AM
  2. Best way to increase overall size of site
    By ozstar in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 03-09-2008, 06:55 PM
  3. increase the weight field
    By neil in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 08-24-2006, 11:32 PM
  4. model number - how to increase maximum filed size?
    By jloyzaga in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 07-08-2004, 06:54 PM
  5. increase model number size
    By jloyzaga in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 10-18-2003, 03:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •