Jump to content

Hide div in product.tpl only on quick view


Neilsen

Recommended Posts

Hello, I am a prestashop newbie I'm actually using prestashop 1.6  and the prestashop quick view is displaying my product.tpl page and I want to hide a div inside my product.tpl only when quick view is active. I can call the class of the div but it hides both on the product.tpl and whenquick view is active also. Does anyone know if there is a smarty condition like :

'<div class="xyz" {if $quick_view =='active'}style="display:none;"{/if}>

</div>

to be able to hide this div only in quick view and make it appear normally on product.tpl...?

 

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