Guest Posted December 27, 2003 Share Posted December 27, 2003 On the product Info page, right under the Name of the product you can find the model. My models look something like this: SDg-37593, and that dosen't look very professional... is there any way to delete that, or change it to something else, like the Manufactor? I've used the search function of this board in every posible way to find the answer as well as the contrib search with no luck <_< I gues I'd have to change something on the products_info page, but I don't wanna screww up! :ph34r: Any ideas? TIA! Javi Link to comment Share on other sites More sharing options...
Guest Posted December 28, 2003 Share Posted December 28, 2003 Hasn't anyone htought of this before? I'm sure it would improve most of our pages. ;) Link to comment Share on other sites More sharing options...
Guest Posted December 28, 2003 Share Posted December 28, 2003 Uhmmm... instead of typing the product number (ie SDg-37593) couldn't you just type the manufacturer? Or just disable showing the product number in the admin. Adminstration/Configurations/Product Listing/Diable Product Model (set to 0) Link to comment Share on other sites More sharing options...
spectr17 Posted December 28, 2003 Share Posted December 28, 2003 I've thought of it and can't figure out how to lose the model number also. Adminstration/Configurations/Product Listing/Diable Product Model (set to 0)? doesn't work. Thanks for any help. ~spectr17 Link to comment Share on other sites More sharing options...
Guest Posted December 30, 2003 Share Posted December 30, 2003 The thing is I have a 30k product database that I import with EasyPopulate so I can't change each model number :( Link to comment Share on other sites More sharing options...
Guest Posted December 30, 2003 Share Posted December 30, 2003 You can set diplay products model to 'false' in admin>configuration>product listing, or, if you still need the model to show in the product listing but not product_info you can remove the following lines from catalog/product_info.php: <?php ? ?if (PRODUCT_LIST_MODEL) { ? ? ?echo ' ? ? ? ? ?<tr>' . "\n" . ? ? ? ? ? ' ? ? ? ? ? ?<td colspan="2" class="pageHeading">' . $product_info_values['products_model'] . '</td>' . "\n" . ? ? ? ? ? ' ? ? ? ? ?</tr>' . "\n"; ? ?} ?> Matti Link to comment Share on other sites More sharing options...
spectr17 Posted January 4, 2004 Share Posted January 4, 2004 Thanks Johnson, I checked and find no code like that in either product_info file in catalog or catalog>includes>english. I'm not sure is some of my contibutions have messed with that code and it's missing. All-Prods-v2.4 or Dynamic Mo Pics MS2 maybe changed that. ~spectr17 Link to comment Share on other sites More sharing options...
Guest Posted January 4, 2004 Share Posted January 4, 2004 Sorry - I musta been half asleep and looked at the wrong file... :blink: Find: if (tep_not_null($product_info['products_model'])) { $products_name = $product_info['products_name'] . '<br><span class="smallText">[' . $product_info['products_model'] . ']</span>'; } else { $products_name = $product_info['products_name']; } And change to: $products_name = $product_info['products_name']; Matti Link to comment Share on other sites More sharing options...
Guest Posted January 4, 2004 Share Posted January 4, 2004 Thanx Matti! That was what I was looking for :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.