This is a discussion on Need help with a simple product listing hack... within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I need to replace the 'Weight' column in the product listing with the model number. Should be easy as switching ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I need to replace the 'Weight' column in the product listing with the model number. Should be easy as switching a variable, but for some reason it won't work. I've already changed the table header label to "Order #", but the model numbers won't display when I substitute 'products_model' for 'products_weight' in the product_listing.php file. Can anyone tell me what I'm doing wrong? case 'PRODUCT_LIST_WEIGHT': $lc_align = 'right'; $lc_text = ' ' . $listing['products_model'] . ' '; break; |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| There is problems with doing this. Mostly due to SHIPPING uses this feild. Your better off ADDING any required feild. Take a look at the ISBN/Barcode contribution that shows you HOW and WHERE to add any required fields. Works for many people to add "other" information. However that said - there already is a "Products Model" feild for this reason. Did you need another feild as a "Model Number"?
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#3
| |||
| |||
| Hi, thanks for your reply! You're right, the weight is tied into too many other things, even though it probably never will be used. Also true that I made a dumb mistake in trying to do this instead of simply looking harder at the admin configuration list. RTFM. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Image size hack for product pages | brendanl79 | osCMax v2 Customization/Mods | 10 | 06-15-2007 02:37 PM |
| Product Quantity on Product Listing Page | vinces | osCMax v1.7 Discussion | 2 | 12-10-2004 06:32 PM |
| Modyfying product listing and new products listing | pavlo | osCommerce 2.2 Modification Help | 0 | 11-22-2004 08:27 AM |
| Product detail in product listing | isummitweb | osCommerce 2.2 Modification Help | 1 | 06-05-2004 07:50 PM |
| Simple versus Advanced Product info | afguns | osCMax v1.7 Discussion | 2 | 02-03-2004 12:20 PM |