Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I remove infoboxes


Guest

Recommended Posts

Hi, I have searched but cannot find how to remove info boxes.

 

I only have one language and one currency so I do not need to diplay these, i looked in column_right but it wasnt obvious.

 

Any help appreciated.

 

 

Rick

Link to comment
Share on other sites

Go to includes/column_left or includes/column_right, find the section calling the info box you want to eliminate, and comment it out.

Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums.

 

Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums

 

Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller

Link to comment
Share on other sites

Go to includes/column_left or includes/column_right, find the section calling the info box you want to eliminate, and comment it out.

 

Hi, I can up and download via FTP and edit text but im not sure about removing stuff.

I have shifted some stuff from the right col into the left col but im worried cos of the 'if' stuff in there.

I cant see how to get the cart onto the left column. any help appreciated.

 

Rick

Link to comment
Share on other sites

Hi, I can up and download via FTP and edit text but im not sure about removing stuff.

I have shifted some stuff from the right col into the left col but im worried cos of the 'if' stuff in there.

I cant see how to get the cart onto the left column. any help appreciated.

 

Rick

 

 

shift this from right to left:

 

  if ($cart->count_contents() > 0) {
	 require(DIR_WS_BOXES . 'shopping_cart.php');
}

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

For languages and currency, I think all you need to edit out is:

  if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {
   include(DIR_WS_BOXES . 'languages.php');

 

And, um, I don't have the currencies code anymore, so I can't give you the code you need to edit out, but if there's an if statement with it, just edit that out to. (Comment it out with // or /**/ though, rather than deleting it just in case something goes horribly horribly wrong.)

Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums.

 

Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums

 

Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller

Link to comment
Share on other sites

For languages and currency, I think all you need to edit out is:
 ?if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {
? ?include(DIR_WS_BOXES . 'languages.php');

 

And, um, I don't have the currencies code anymore, so I can't give you the code you need to edit out, but if there's an if statement with it, just edit that out to.  (Comment it out with // or /**/ though, rather than deleting it just in case something goes horribly horribly wrong.)

 

Thanks you two.

I tend to download a file, then rename it so I can upload it again when all goes wrong.

 

Another question, what is the difference between require and include?

 

Thanks,

Rick

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...