caspernova Posted April 2, 2006 Posted April 2, 2006 Hi - I can't figure out how to remove the product model number from the product_info page. It's annoyingly displayed under the Product heading... TI-83 Plus [TI83PLUS] ^ how do i get rid of it? thanks
compwhizmm90 Posted April 2, 2006 Posted April 2, 2006 Hi - I can't figure out how to remove the product model number from the product_info page. It's annoyingly displayed under the Product heading... TI-83 Plus [TI83PLUS] ^ how do i get rid of it? thanks go to the admin click configuration on the menu click product listing you will see it in the options change it to 0
caspernova Posted April 2, 2006 Author Posted April 2, 2006 go to the adminclick configuration on the menu click product listing you will see it in the options change it to 0 No, that's not what i mean. Those are the product listings. I'm talking about the actual product page. It says the product name in big large letters, and right under that in brackets is the model number. I don't want it to show the model number. <td class="pageHeading" valign="top"><?php echo $products_name; ?></td> that's the line that spits it out, rendering it like this <td class="pageHeading" valign="top">TI-86<br><span class="smallText">[TI86]</span></td> Does anyone know how to edit "$products_name" so that it only shows the product name?
Guest Posted September 6, 2006 Posted September 6, 2006 No, that's not what i mean. Those are the product listings. I'm talking about the actual product page. It says the product name in big large letters, and right under that in brackets is the model number. I don't want it to show the model number. <td class="pageHeading" valign="top"><?php echo $products_name; ?></td> that's the line that spits it out, rendering it like this <td class="pageHeading" valign="top">TI-86<br><span class="smallText">[TI86]</span></td> Does anyone know how to edit "$products_name" so that it only shows the product name? You can find it here (I was digging for it myself!) http://www.oscommerce.com/forums/index.php?showtopic=205318
Guest Posted September 7, 2006 Posted September 7, 2006 You can find it here (I was digging for it myself!)http://www.oscommerce.com/forums/index.php?showtopic=205318 on product_info.php there is this line of code 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']; if you dont want the model number change it to this if (tep_not_null($product_info['products_model'])) { $products_name = $product_info['products_name']; } else { $products_name = $product_info['products_name'];
Recommended Posts
Archived
This topic is now archived and is closed to further replies.