Jump to content

How to disable a class name on a product page ?


Recommended Posts

Hello everyone,

i would like to disable a class name when we are on a product page (not a special one, all product)

I've search in the smart variable, but for the moment, nothing works...
I did this
 

<section id="wrapper" class="{block name='layoutWrapperClass'}{if $page_name != $urls.pages.product}{l s='l-wrapper'}{/if}{/block}">

 

Do you have an other idea ?

Thanks, have a nice day !

Antoine

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