osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Removing price listing from "New Products For ..."

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-31-2004, 10:58 AM
New Member
 
Join Date: Feb 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
JGofGFS
Default Removing price listing from "New Products For ..."

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 03-31-2004, 11:34 AM
New Member
 
Join Date: Feb 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
JGofGFS
Default

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);
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 08:52 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax