longhorn1999 Posted February 21, 2014 Posted February 21, 2014 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
multimixer Posted February 21, 2014 Posted February 21, 2014 if (basename($PHP_SELF) == FILENAME_SHOPPING_CART) include(DIR_WS_BOXES . 'your_box.php'); My community profile | Template system for osCommerce - New: Responsive | Feedback channel
Recommended Posts
Archived
This topic is now archived and is closed to further replies.