remmeer Posted April 23, 2004 Posted April 23, 2004 On the product page (product_info.php) there are two lines of text that display below the product description that I would like to remove. Although I have been poking around in the file, I can't seem to find the code needed to make the change. I would like to remove the following lines: "For more information, please visit this products webpage." "This product was added to our catalog on Thursday 14 August, 2003." Also, how do I remove the "Review" button from the product_info.php file? Thank you.
241 Posted April 23, 2004 Posted April 23, 2004 catalog/products_info.php for this bit "For more information, please visit this products webpage." "This product was added to our catalog on Thursday 14 August, 2003." find this bit of code and comment it out <?php } if (tep_not_null($product_info['products_url'])) { ?> <tr> <td class="main"><?php echo sprintf(TEXT_MORE_INFORMATION, tep_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($product_info['products_url']), 'NONSSL', true, false)); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td> </tr> <?php } else { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> </tr> for the Review button comment out this bit of code <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td> No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
remmeer Posted April 23, 2004 Author Posted April 23, 2004 Thanks, 241. That was just what I was looking for. :D
Guest Posted April 28, 2004 Posted April 28, 2004 catalog/products_info.php for this bit "For more information, please visit this products webpage." "This product was added to our catalog on Thursday 14 August, 2003." find this bit of code and comment it out <?php ? ?} ? ?if (tep_not_null($product_info['products_url'])) { ?> ? ? ?<tr> ? ? ? ?<td class="main"><?php echo sprintf(TEXT_MORE_INFORMATION, tep_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($product_info['products_url']), 'NONSSL', true, false)); ?></td> ? ? ?</tr> ? ? ?<tr> ? ? ? ?<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> ? ? ?</tr> <?php ? ?} ? ?if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) { ?> ? ? ?<tr> ? ? ? ?<td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td> ? ? ?</tr> <?php ? ?} else { ?> ? ? ?<tr> ? ? ? ?<td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> ? ? ?</tr> for the Review button comment out this bit of code <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td> I would like to add the product_url found on the product info page to instead appear on the manufacturer's listing of products. I tried just cutting and pasting the bit from product info to the product listing page but nothing comes up. Might ye be able to point me in the right direction on this?
ephestion Posted September 4, 2004 Posted September 4, 2004 I tried using // and /* */ to comment it out but it didnt work. Also How do we add a goback button to replace the review button?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.