Guest Posted December 11, 2004 Posted December 11, 2004 I can't find where to remove the Product Model from displaying on the page such as [Costa Rican Tarrazu]. I just need to remove the text [Costa Rican Tarrazu] from the page. Thanks, Peter
mugitty Posted December 11, 2004 Posted December 11, 2004 Of course you already know... BACKUP first! Starting at line 83 of product_info.php: 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']; } I believe that if you just delete the portion that calls for the model, you can still leave the if statement intact but it will not show the model: if (tep_not_null($product_info['products_model'])) { $products_name = $product_info['products_name'] . ''; } else { $products_name = $product_info['products_name']; } Not tested ... if you want to REALLY see something that doesn't set up right out of the box without some tweaking, try being a Foster Parent!
Guest Posted December 11, 2004 Posted December 11, 2004 Thanks Stuart, It worked perfectly, I was looking for the typical "php echo" statement. No wonder I couldn't find it. Peter :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.