justouletdk Posted February 23, 2011 Share Posted February 23, 2011 Hello,I am editing the scenes to promote product categories instead of specific products. I managed to get the default category ID and category url as well as image url. For example: {$link->getcategorylink($product.details->id_category_default)|escape:'htmlall':'UTF-8'} However, i am having troubles getting category name and description. Any ideas? Link to comment Share on other sites More sharing options...
choussamaster Posted July 13, 2011 Share Posted July 13, 2011 {$cat = $product->id_category_default} {if $cat == 1} Retour au catalogue {else} getcategorylink($cat)|escape:'htmlall':'UTF-8'}" class="btn_bleu">Retour au catalogue {/if} Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now