Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't Do It. Can You?


Guest

Recommended Posts

Here's a mind bender for the pros of OSC. On my homepage www.cleanhitsvideo.com in the "New Products for ..." section, I need to remove the price from showing. Because I use product attributes for all pricing if I enter a price for a product (whch I have done temporarily) it messes up the total price at check out.

 

I have been all around the OSC files and can't find a fix. This maybe one of the things that can't be modified in OSC. What do you think?

Link to comment
Share on other sites

1. Replace the Oscommerce Copyright as the "Grey Box" design belongs to Oscommerce.

 

2. Edit: /includes/modules/new_products.php

 

Replace this:

 

<br>' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id']))

 

With this:

'

 

So that the whole line looks like 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>');

 

hth

Link to comment
Share on other sites

Gary, you are my new best friend!

 

I would like to replace the OSC logo. I lost it when I was messing around, but haven't been able to find out where I removed it from. Any ideas?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...