This is a discussion on Removing price listing from "New Products For ..." within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I'm setting up a site now and I'm trying to figure out how to remove the price listing from underneath ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I'm setting up a site now and I'm trying to figure out how to remove the price listing from underneath the pictures in the "New Products For ..." and under the "what's new" random item box. I've tried editing some templates for new products listing and in whats_new.php for the "what's new" box but I've had no luck. Any tips? I've also searched the forums and still have found nothing. Thanks in advance. Justin |
|
#2
| |||
| |||
| I seemed to have come up with a quick and dirty way to do it, although, I don't think it's the best way. To remove prices from the "what's new" random item box open includes/boxes/whats_new.php $whats_new_price = ''; after the "Separate Price per Customer Mod" section -- To remove prices from "what's new for <insert month>" open includes/modules/new_products.php $whats_new_price = $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])); $whats_new_price = ''; after the "Separate Price per Customer Mod" section and change this line: 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a><br>' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id']))); to this: 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a><br>' . $whats_new_price); |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| removing "Other images for this product", image mi | deuce | osCMax v2 Customization/Mods | 11 | 01-11-2007 01:38 PM |
| "Price" and "Add to Cart" button inside | midwestwebsites | osCMax v2 Customization/Mods | 3 | 11-14-2005 05:13 AM |
| Removing a "Top Administrator" member - blocked?? | xpressed | osCMax v1.7 Discussion | 2 | 07-08-2004 03:27 PM |
| Creating "list price" listing category | southwestseas | osCommerce 2.2 Modification Help | 0 | 06-30-2004 06:57 PM |
| Change "Product Listing" header in CPATH to image. | ritalcnyc | osCommerce 2.2 Modification Help | 1 | 11-22-2003 02:38 PM |