Jump to content

How to add Crosselling to ProductTab


Recommended Posts

Hi!

 

I use prestashop 1.5.4.

 

I was tried to set the positión in ProductTab of hook Crosselling.

 

In my case, I had the typical problem of "You can´t set the position of Crosselling into ProductTab".

 

Then I do that:

 

In my crosselling.php I add following line

 

!$this->unregisterHook('displayProductTab') OR

 

Also this other lines

 

    public function hookdisplayProductTab($params)
    {
        return $this->hookshoppingCart($params);
    }

 

Then I try again to change position and It works ok.

 

However I don´t see nothing of this module in code of web related to this module in product card.

 

I review if there is any display: none.

 

It is possible that I am in the wrong displayproductTab ??

 

Thanks for all.

 

 

 

 

post-844379-0-06005500-1416483378_thumb.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...