Jump to content

[HOW TO] Personnalize Add To Cart Button


Recommended Posts

Hello everybody,

 

I would like to customize the "Add to Cart" button according to the category where I am. Is this possible?

 

Or, depending on the presence of "Attributes". I have one categorie with attributes and one another without.

 

I tried this kind of dev in product.tpl but it doesn't work successfully:

 

{if $customizationFields}
<input value="Customize" name="Submit" type="submit" />
{else}
<input value="Add to Cart" name="Submit" type="submit" />
{/if}

 

Thanks in advance for your help and your time !!!

 

Gregg

Edited by GreggBazin (see edit history)
Link to comment
Share on other sites

  • 4 weeks later...

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