Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to remove this ?


hsiehlung

Recommended Posts

hi guys

 

just wonder any way to remove the the categories drop list from my top right

http://www.freshnezy.com.au

 

dont know where the code is....

 

and is possible to put the shopping cart (basket) on the right side without anything else ?

 

left side

<?php

/*

$Id: column_left.php 1739 2007-12-20 00:52:16Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// START STS 4.1

if ($sts->display_template_output) {

include DIR_WS_MODULES.'sts_inc/sts_column_left.php';

} else {

//END STS 4.1

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'dm_categories.php');

}

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_manufacturers_box();

} else {

include(DIR_WS_BOXES . 'manufacturers.php');

}

 

require(DIR_WS_BOXES . 'whats_new.php');

require(DIR_WS_BOXES . 'search.php');

require(DIR_WS_BOXES . 'information.php');

// START STS 4.1

}

// END STS 4.1

?>

 

right side

 

<?php

/*

$Id: column_right.php 1739 2007-12-20 00:52:16Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// START STS 4.1

if ($sts->display_template_output) {

$sts->restart_capture ('content');

} else {

//END STS 4.1

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

}

 

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

include(DIR_WS_BOXES . 'languages.php');

include(DIR_WS_BOXES . 'currencies.php');

}

// START STS 4.1

}

// END STS 4.1

?>

Link to comment
Share on other sites

Hi

 

Had a look at your page source but cannot find any reference for category menu in your columns_right.php

 

here is the page source for the drop-down menu:

 

<!-- Start Category Menu -->

<form name="goto" action="index.php" method="get"><select name="cPath" onChange="this.form.submit();"><option value="0" SELECTED>Catalog</option><option value="22">Bakery</option><option value="30">   Bakery</option><option value="31">   Bread</option><option value="27">Confectionery & Snacks</option><option value="21">Dairy</option><option value="23">Freezer</option><option value="25">Fresh Meat</option><option value="26">Fruit & Vegetables</option><option value="24">Grocery</option><option value="28">Non Food</option><option value="29">Variety</option></select></form>

 

<!-- End Category Menu -->

 

It make a reference about index.php

 

 

Hopefully someone will help you better than I can

 

Good Luck

 

Liam

Link to comment
Share on other sites

You need to post in the STS support thread in the Templates and Images forum.

 

Your site has STS installed and because of that the whole site works differently.

 

That is why you need to post in the STS support thread.

 

Posts about STS outside the support thread usually receive very little support or attention.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...