Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please Help.


Isiah

Recommended Posts

Posted

OK im having a little problem with the boxes on my right column for instance on my index page i want in this order shopping cart, whats new, best sellers & then reviews. But then when you click on a product i want the boxes in this order shopping cart, whats new, tell a friend.

 

Also i was curios to know in the best sellers box what contribution is it to make it look exactly like this one at this site. http://www.pleazurecity.com

 

Here is the coding to column_right i would really appreciate it if someone could make the correct adjustments for me thanks ahead of time.

 

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

*/

 

require(DIR_WS_BOXES . 'shopping_cart.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) {

 

} else {

 

}

} else {

 

}

} else {

 

}

 

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

 

}

require(DIR_WS_BOXES . 'whats_new.php');

 

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

require(DIR_WS_BOXES . 'reviews.php');

require(DIR_WS_BOXES . 'best_sellers.php');

 

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

}

?>

Archived

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

×
×
  • Create New...