Jump to content

[1.6] Topbar, product state and home block


Araviel

Recommended Posts

Hi everyone,


 


I'm using Prestashop 1.6 and i would like to remove product state (new / used) in product view.


 


I want to know how to add links and button on grey topbar (logn / contact) at left it would be nice too !


 


another question, i'm trying tomake appear blocks in the home (like when we are on product page) an example :


 


http://www.inmotionhosting.com/support/images/stories/edu/ps16/position-cart-block/2-after.png


 


in there he have blocks in home (tags and home blocks) really need this !


 


thanks in advance


 


Link to comment
Share on other sites

Hi Aravierl,

 

To remove the condition, go to:

themes/<your theme folder>/css/global.css (mak backup, just in case...)

 

go to the end of the file and add:

 

#product #product_condition {display: none;}
 
That should do the trick.
 
 
 
To add a button to the grey top navigation bar, you should make a small module, (just like blockcurrencies module, there they add one to the top navigation bar)
 
look here for example:
/modules/blockcurrencies/blockcurrencies.php
 
the code that adds it to the top nav. bar is this hook:
public function hookDisplayNav($params)
{
   return $this->hookDisplayTop($params);
}
 
The rest of the functionality you can define in the module code. if it's only a fixed link, that shouldn't be too difficult. Just have a look at the /modules/blockcurrencies module to get an idea what comes with it.
 
 
question number 3, No idea what you exactly mean. Please add some picture what you need, or elaborate some more.
 
 
My 2 cents,
pascal.
  • Like 1
Link to comment
Share on other sites

Hi PascalVG, thanks fthis quick reply !

 

I will look into / files codes you mentioned thanks.

 

For the third question i'm asking how does the shop ownerdo to have the TAGS and HOME blocks at bottom left.

 

In my shop blocks can only be seen on categories or product pages its a bit annoying.

 

And i'm wondering if I can have categories listed in a block in the home

 

thanks in advance !

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