Jump to content



Latest News: (loading..)

- - - - -

best seller in product info how?


  • Please log in to reply
3 replies to this topic

#1   luigicosta

luigicosta
  • Members
  • 97 posts
  • Real Name:luigi costa

Posted 20 July 2012 - 07:44 AM

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

#2 ONLINE   multimixer

multimixer

    Lemons or Melons ?

  • Partner
  • 4,400 posts
  • Real Name:George Zarkadas
  • Gender:Male
  • Location:Greece

Posted 20 July 2012 - 02:14 PM

@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

#3   luigicosta

luigicosta
  • Members
  • 97 posts
  • Real Name:luigi costa

Posted 20 July 2012 - 02:54 PM

View Postmultimixer, on 20 July 2012 - 02:14 PM, said:

@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

#4   luigicosta

luigicosta
  • Members
  • 97 posts
  • Real Name:luigi costa

Posted 20 July 2012 - 06:21 PM

View Postmultimixer, on 20 July 2012 - 02:14 PM, said:

@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