Jump to content

Prs V1.6.1.4 - Place The Cart On The Right Of The Navbar


Recommended Posts

Hello ,

I have upgraded to v1.6.1.4 and i just  can't have the navbar as before

 

I would like to put the Cart on the right

 

On the previous version, it was working as i modified the file

/public_html/test/themes/default-bootstrap/modules/blockcart/blockcart.tpl

with taking off the code as …

 

… …

{if isset($blockcart_top) && $blockcart_top}
<div class=”pull-right{if $PS_CATALOG_MODE} header_user_catalog{/if}”>      /*   pull-right instead of col-sm-4 clearfix   */
{/if}  .… …
 
 
But on this version (1.6.1.4) it does not work.
 
Some one to help me ?
Thanks a lot
Pascual
 

 

Link to comment
Share on other sites

  • 2 weeks later...

Do you mean the navbar which (when using the default theme) has the user info, contact, currency conversion block etc? (between the logo and store very top banner)

 

if so you can do most of it in the back office - transplant blockcart to "displaynav" ... it may show more towards the left, and although im certainly NO EXPERT at all with prestashop and each time i update i have to re-do my store so its up to you whether you want to do the next part, and on my theme i have the "sign in, contact us" etc removed so it may show different on yours but it might give you a place to look...

 

blockcart.TPL in your theme folder

the first section you will see

 

<!-- MODULE Block cart -->
{if isset($blockcart_top) && $blockcart_top}
<div class="clearfix col-md-4 {if $PS_CATALOG_MODE} header_user_catalog{/if}">
{/if}
    <div class="shopping_cart">

 

Ii removed the col-md-4 code and the cart went straight over to the right.

Sorry i cant be of more help

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...