Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Putting a box in a column in just the shopping cart (v2.2 RC2a)


longhorn1999

Recommended Posts

Hi everyone,

 

I have a basic question for an older version of osC, which I'm sure a lot of people still use.

 

I'm trying to add a box to the right column of only shopping_cart.php, and no other page.

 

For various scenarios, I have some code like:

 

if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'product-page-box.php');

 

or

 

if ((basename($PHP_SELF) == FILENAME_DEFAULT) && ($category_depth == 'top') && (!isset($_GET['manufacturers_id']))) {include(DIR_WS_BOXES . 'home-page-box.php');
 }

 

 

but these are only for the product pages or the home page, respectively.

 

Any ideas how to do this?

 

Thanks

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...