Jump to content

How to move currency tabs and language flags to different locations to the default positions


Recommended Posts

I would like to place the currencies next to the cart (or even on the cart if it is possible) and the language flags above the category tab, which is more logical in my opinion - does anybody have any idea how I can do this?

I have tried with the global css to change margins and floating positions but this is like a lottery trying to get everything in the right place - when I have the language flags where I want then the search bar moves somewhere else, if I reposition the search bar then the links (bookmark etc move). How can I fix them where I want?

Your help would be appreciated.

Link to comment
Share on other sites

Yes, it is possible to do that, but it isn't an easy thing to do. You'll have to merge the code in the hookTop function in modules/blockcurrencies/blockcurrencies.php with the code in the hookRightColumn function in modules/blockcart/blockcart.php, then merge the modules/blockcurrencies/blockcurrencies.tpl and modules/blockcart/blockcart.tpl code, then modify the CSS in global.css for the currencies block so that it works in the cart block.

Link to comment
Share on other sites

Hi, thanks.

when you say 'merge' do you mean just copy the lines of code in hooktop function and hookrightcolumn function from one (blockcurrencies.tpl) to the other (blockcart.tpl) or I have to know how to rewrite the code? And is it so that the code should be the same in both files? Ie; hooktop function and hookrightcolumn are exactly the same coding?

thanks again.

Link to comment
Share on other sites

I have been playing with many variations now through trial and error to try and merge the code (this is like rocket science)(my biggest problem I think is not really knowing how to edit the global.css or what code to write). But I have had the currencies appear in two places and next to the cart but not on it. And now it says 'no template found'where the cart should be. Any suggestions?

Link to comment
Share on other sites

  • 2 years later...

See my post here for a language block that can be placed in a column. You can modify the currency block in a similar way.

Hi! could you please help me with the currency issue I have posted here yesterday

http://www.prestashop.com/forums/topic/221234-prestashop-1531-currency-block-issue/

 

My shop will go online soon and I don't know how to fix this! :(

 

Regards

Stelios

Link to comment
Share on other sites

  • 7 months later...

I am having trouble with currency , sitemap and contact tab

 

I uninstall those tab, i mean modual and re install them again , but now they appearing on little and underneath of top manu, before that they were on top of right side. i want to put and set them back at top right side.

 

 

I am working on it since so many days but couldnt find any way to put them back without re install all the program which i maintained already

 

please please please show me any batter way to re locate all of them at default position

 

I want to add all that tab on top of shopping Cart

 

see link below which have error http://www.wwjewellery.com/

 

see link which looks perfect http://www.e-qualities.in/

 

You can do that from Backoffice -> Modules -> Positions. It depends on the specific module where it can be positioned.

 

I am having trouble with currency , sitemap and contact tab

 

I uninstall those tab, i mean modual and re install them again , but now they appearing on little and underneath of top manu, before that they were on top of right side. i want to put and set them back at top right side.

 

 

I am working on it since so many days but couldnt find any way to put them back without re install all the program which i maintained already

 

please please please show me any batter way to re locate all of them at default position

Edited by sunrisepoints (see edit history)
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...