Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

best seller in product info how?


luigicosta

Recommended Posts

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

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

Link to comment
Share on other sites

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

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

Archived

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

×
×
  • Create New...