Jump to content

{if} ($product in $category) disable 'add to cart' {/if}


Recommended Posts

Hi there,

 

I'd like to be able to disable the 'Add to Cart' function on certain Categories.

 

How do I do this?

 

Is it something like this in my product.tpl:

{if} ($product in $category) // disable 'add to cart' {/if}

 

 

Many thanks for any pointers.

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