Jump to content

Archived

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

luigicosta

best seller in product info how?

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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

×