Jump to content

Cart block on the header


Recommended Posts

you can modify also module php file, add there

something like:

    public function hookTop($params)
	{
		return $this->hookRightColumn($params);
	}

(add it before last closing bracket } )

 

 

then go to modules > positions and transplant blockcart module to Top hook (not header!)

 

after that you need to customize css styles of this module.

Link to comment
Share on other sites

It's still not hooked properly. Are you sure you did it right?

You used:

public function hookTop($params)
	{
		return $this->hookRightColumn($params);
	}

The question is: does it even have hookRightColumn parameters set? It appears in left column so if you don't have public function hookRightColumn($params) then you should use:

public function hookTop($params)
	{
		return $this->hookLeftColumn($params);
	}
Edited by Sharak (see edit history)
Link to comment
Share on other sites

it appears in left column because it's still hooked to the left column. unhook moduel form this hook.

in addition, can you turn maintenance of ? or just add my ip, i tried to check your website (if module is attached to hookTop) but due to the maintenance mode i cant

Link to comment
Share on other sites

Thanks for reply to all.

 

Here i would like to change my cart image like in the following screenshot. May i know is this possible in prestashop 1.4.3. Please advice if any other cart block module is available with this features.

 

http://store49shop.com/

 

Please any one help..

post-618037-0-43399700-1392112276_thumb.png

Edited by Prabukaran (see edit history)
Link to comment
Share on other sites

it is but you have to modify block cart module.

for the first, you have to add there hookTop support (create public function hookTop)

you have to modify also cart block module template file because by default in 1.4 it looks like:

dMRSCXl.png

*screenshot from your website*

 

you have to convert it to 

zYCqqaS.png

 

 

you can do it with css stylesheet for cart, and template file modification

Link to comment
Share on other sites

×
×
  • Create New...