The Rocking Porch Posted October 27, 2006 Posted October 27, 2006 I like having the What's New Box in the Left Column, but do not want the price to show up. (my prices are based on atributes) I've tried deleting some of the code in /Oscommerce/catalog/includes/boxes/whats_new.php, but apparently I am not doing it correctly. Any help would be appreciated. Thank you, Melinda www.therockingporch.com
rrrhythm Posted October 28, 2006 Posted October 28, 2006 I like having the What's New Box in the Left Column, but do not want the price to show up. (my prices are based on atributes) I've tried deleting some of the code in /Oscommerce/catalog/includes/boxes/whats_new.php, but apparently I am not doing it correctly. Any help would be appreciated. Thank you, Melinda www.therockingporch.com easy one... in whats_new.php, around line 37: $random_product['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $random_product['products_image'], $random_product['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product['products_id']) . '">' . $random_product['products_name'] . '</a><br>' . $whats_new_price); change to: $random_product['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $random_product['products_image'], $random_product['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product['products_id']) . '">' . $random_product['products_name'] . '</a><br>'/* . $whats_new_price*/); you could probably be more elegant and eliminate the code that actually calculates the price, but this works fine. rj
The Rocking Porch Posted October 29, 2006 Author Posted October 29, 2006 Thanks! Worked Great! :thumbsup: Oh, and putting the code in red that needed to be changed. Made it extra easy. Melinda www.therockingporch.com
EVS Posted May 7, 2007 Posted May 7, 2007 DITTO HERE....GREAT EXPLANATION WITH RED TYPE...WORKS SUPER SO FAR....thanks! Always give your best, never get discouraged!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.