Jump to content

Custom link depending on manufacturer


Recommended Posts

Hi!
I want to make a button with a modal effect on product page with ex. size table. I want to show only this size table depending on acutal product manufacturer.

Ex. Nike shoes

On product page (product.tpl file) button named like "size table". After use the button the modal popup box will show only the Nike shoe size table.

 

Maybe something like this should work?

{if $manufacutrer_name !='Nike'}

    <a href="domain.name/nike-size-table.html" class="button modal">Size table</a>

{/if}

Thanks in advance!

Edited by kisweb (see edit history)
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...