luigicosta Posted July 20, 2012 Share Posted July 20, 2012 a stupid question, Iam looking but without results! would like to have the box best seller even when the product info page. I thought there was any link in index.php but found nothing. anyone have any idea where is it? thanks LC Link to comment Share on other sites More sharing options...
multimixer Posted July 20, 2012 Share Posted July 20, 2012 @@luigicosta Think logical: You want a box to appear on the product info page. Why should this have something to do with index.php? First thought would be to look at the box itself. All boxes are located in folder catalog/includes/modules/boxes/ The box for bestsellers is called bm_bestsellers.php , easy not? Opening this file you can see at the beginning of function execute() if (!isset($HTTP_GET_VARS['products_id'])) { What does this mean? It says: "if there is no product id in the url ...." I would guess that this is the reason for the box not appearing on product info My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
luigicosta Posted July 20, 2012 Author Share Posted July 20, 2012 @@luigicosta Think logical: You want a box to appear on the product info page. Why should this have something to do with index.php? First thought would be to look at the box itself. All boxes are located in folder catalog/includes/modules/boxes/ The box for bestsellers is called bm_bestsellers.php , easy not? Opening this file you can see at the beginning of function execute() if (!isset($HTTP_GET_VARS['products_id'])) { What does this mean? It says: "if there is no product id in the url ...." I would guess that this is the reason for the box not appearing on product info thanks a lot easy..... Im very stupid thanks againg LC Link to comment Share on other sites More sharing options...
luigicosta Posted July 20, 2012 Author Share Posted July 20, 2012 @@luigicosta Think logical: You want a box to appear on the product info page. Why should this have something to do with index.php? First thought would be to look at the box itself. All boxes are located in folder catalog/includes/modules/boxes/ The box for bestsellers is called bm_bestsellers.php , easy not? Opening this file you can see at the beginning of function execute() if (!isset($HTTP_GET_VARS['products_id'])) { What does this mean? It says: "if there is no product id in the url ...." I would guess that this is the reason for the box not appearing on product info okay, But if I want put the box bestseller insede the page product info otherwise in a new page how can I do? thanks and sorry for my bad english LC Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.