Jump to content

[SOLVED] Help with Smarty statement


Recommended Posts

I'm trying to do something like this:

<img src={$link->getImageLink('$product->reference','$product->id','large')}" {if $jqZoomEnabled}class="jqzoom" alt="{$link->getImageLink('$product->name','$product->id','thickbox')}"{else} title="{$product->name|escape:'htmlall':'UTF-8'}" alt="{$product->name|escape:'htmlall':'UTF-8'}" {/if} id="bigpic"/> 

But I keep getting '$product->reference' passed as the $name and '$product->id' passed as $ids to getImageLink
Am I going to have to create the entire call using a capture?

OOPS, Smarty, not jQuery...

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More