Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

two questions, Please help


CluelessinNY

Recommended Posts

How do I get rid of these boxes... languages and currencies?

 

searched all the forums for answers but found nothing.

 

Also if you look at my site which is still a work in progess you will notice that I have the words TEXT_MAIN on the main page, where do I go to delete that?

 

thank you very much!

 

melissa

 

dahanbridal.com

Link to comment
Share on other sites

you can edit your includes/column_right.php

 

text_main is because it is not finding a definition in your language files which defines what text_main is supposed to say.

Link to comment
Share on other sites

I just saw this in the right column php file -- HOW DO I SAFELY COMMENT OUT THE LANGUAGES AND CURRENCY BOXES?

 

 

<?php

/*

$Id: column_right.php,v 1.17 2003/06/09 22:06:41 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

require(DIR_WS_BOXES . 'shopping_cart.php');

 

if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

 

if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

 

if (isset($HTTP_GET_VARS['products_id'])) {

if (tep_session_is_registered('customer_id')) {

$check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");

$check = tep_db_fetch_array($check_query);

if ($check['count'] > 0) {

include(DIR_WS_BOXES . 'best_sellers.php');

} else {

include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

include(DIR_WS_BOXES . 'best_sellers.php');

}

 

if (isset($HTTP_GET_VARS['products_id'])) {

if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');

} else {

include(DIR_WS_BOXES . 'specials.php');

}

 

require(DIR_WS_BOXES . 'reviews.php');

 

if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

include(DIR_WS_BOXES . 'languages.php');

include(DIR_WS_BOXES . 'currencies.php');

}

?>

Link to comment
Share on other sites

I just saw this in the right column php file -- HOW DO I SAFELY COMMENT OUT THE LANGUAGES AND CURRENCY BOXES?

<?php

/*

  $Id: column_right.php,v 1.17 2003/06/09 22:06:41 hpdl Exp $

 

  osCommerce, Open Source E-Commerce Solutions

  http://www.oscommerce.com

 

  Copyright ? 2003 osCommerce

 

  Released under the GNU General Public License

*/

 

  require(DIR_WS_BOXES . 'shopping_cart.php');

 

  if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

 

  if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

 

  if (isset($HTTP_GET_VARS['products_id'])) {

    if (tep_session_is_registered('customer_id')) {

      $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");

      $check = tep_db_fetch_array($check_query);

      if ($check['count'] > 0) {

        include(DIR_WS_BOXES . 'best_sellers.php');

      } else {

        include(DIR_WS_BOXES . 'product_notifications.php');

      }

    } else {

      include(DIR_WS_BOXES . 'product_notifications.php');

    }

  } else {

    include(DIR_WS_BOXES . 'best_sellers.php');

  }

 

  if (isset($HTTP_GET_VARS['products_id'])) {

    if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');

  } else {

    include(DIR_WS_BOXES . 'specials.php');

  }

 

  require(DIR_WS_BOXES . 'reviews.php');

 

  if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

    include(DIR_WS_BOXES . 'languages.php');

    include(DIR_WS_BOXES . 'currencies.php');

  }

?>

 

 

Like this ..

 

//include(DIR_WS_BOXES . 'languages.php');

//include(DIR_WS_BOXES . 'currencies.php');

 

:)

Link to comment
Share on other sites

thank you!!

 

Can I ask you two more????

 

I deleted the footer, but now I noticed I am getting error messages, How do I put it back? I think I deleted the file from the includes page, but now every page has a footer error message! AHHHHHHH

 

Secondly. I also deleted the images for the small boxes out of the images folder, These are now big red X's on my home page. How do I delete those?

 

thanks!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...