Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Products Box


salvo1

Recommended Posts

I'm still pretty new, but I think I'm getting better. I'm working on a test shop and I'm doing pretty well, other than the graphics of course, which I'm fantastic at, its looking pretty good estethicaly as far as being easy on the eyes, quick browse ability, etc...

 

1. I'm still pretty new like I said, can anyone assist me on completely removing teh New Products info box ?, I don't want it on any pages.

 

2. The products review and its buttons.

 

I've tried to just remove the buttons but some products still say this "product has 1 comment" This shouldn't be a problem for me, becuase before I put my products up I will remove these options. But if someone knows how to eliminate it completely It would be greatly appriciated.

 

Thank you in advance for all of your help.

 

Regards,

Salvo

Link to comment
Share on other sites

To remove the new product infobox

open catalog/includes/column_left.php and change

require(DIR_WS_BOXES . 'whats_new.php');

to

// require(DIR_WS_BOXES . 'whats_new.php');

 

That will remove it from the sides but you can always put it back if you want it in the future.

 

 

To remove the reviews box open catalog/includes/column_right.php and change

require(DIR_WS_BOXES . 'reviews.php');

to

// require(DIR_WS_BOXES . 'reviews.php');

 

To remove the "new products for" on the index.php

open catalog/index.php and look for

 

<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

and either remove it or change it to

<?php // include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

 

it is there twice.

 

to remove the link to write reviews on the product info page go to catalog/product_info.php and look for

<?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>'; ?>

remove it or change it to

<?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>'; ?>

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Thank you.

 

 

I'm still pretty new, but I think I'm getting better.  I'm working on a test shop and I'm doing pretty well, other than the graphics of course, which I'm fantastic at, its looking pretty good estethicaly as far as being easy on the eyes, quick browse ability, etc...

 

1. I'm still pretty new like I said, can anyone assist me on completely removing teh New Products info box ?, I don't want it on any pages. 

 

2.  The products review and its buttons. 

 

I've tried to just remove the buttons but some products still say this "product has 1 comment"  This shouldn't be a problem for me, becuase before I put my products up I will remove these options.  But if someone knows how to eliminate it

completely It would be greatly appriciated.

 

Thank you in advance for all of your help. 

 

Regards,

Salvo

Link to comment
Share on other sites

Wendy, I've actual disabled the right side column all together on all pages (<?php // require(DIR_WS_INCLUDES . 'column_right.php'); ?>) as there was nothing I wanted to show other than the shopping cart contents. I've moved that to the left column. I'm using another cart contribution that just shows how many items and the total price in cart on a single line, and I'm putting that code in a new breadcrumb that I created. Thanks for your help again.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...