htech Posted April 7, 2011 Share Posted April 7, 2011 hey guysplease can you help, im going crazy here!iv taken the following product slider code and need to change it into a category code so iv done the following : {counter start=0 assign=nbPrd} {foreach from=$bandmovingboxes_products item=bandmovingboxes_product name=bandmovingboxes} getImageLink($bandmovingboxes_product.link_rewrite, $bandmovingboxes_product.id_image, 'large')}" alt="{$bandmovingboxes_product.legend|escape:htmlall:'UTF-8'}" /> getImageLink($bandmovingboxes_product.link_rewrite, $bandmovingboxes_product.id_image, 'large')}" alt="{$bandmovingboxes_product.legend|escape:htmlall:'UTF-8'}" /> {$bandmovingboxes_offer_message} {convertPrice price=$bandmovingboxes_product.price} {$bandmovingboxes_product.name|truncate:27:'...'|escape:'htmlall':'UTF-8'} {/foreach} <!-- the scroller --> <!-- slider --> and i changed it to the following : {counter start=0 assign=nbPrd} {foreach from=$bandmovingboxes_category item=bandmovingboxes_category name=bandmovingboxes} getCatImageLink($bandmovingboxes_category.link_rewrite, $bandmovingboxes_category.id_image, 'large')}" alt="{$bandmovingboxes_category.legend|escape:htmlall:'UTF-8'}" /> getCatImageLink($bandmovingboxes_category.link_rewrite, $bandmovingboxes_category.id_image, 'large')}" alt="{$bandmovingboxes_category.legend|escape:htmlall:'UTF-8'}" /> {$bandmovingboxes_offer_message} {convertPrice price=$bandmovingboxes_category.} {$bandmovingboxes_category.name|truncate:27:'...'|escape:'htmlall':'UTF-8'} {/foreach} <!-- the scroller --> <!-- slider --> it just shows up blank and nothing shows on the frontpage at allPlease help guys what am i doing wrong???? Link to comment Share on other sites More sharing options...
htech Posted April 7, 2011 Author Share Posted April 7, 2011 hahahahaim in nz...tpl editing the bottom CODE....prestashop the latest one 1.4 supper....i dunno what u making me? Link to comment Share on other sites More sharing options...
htech Posted April 8, 2011 Author Share Posted April 8, 2011 the top code is the original code...the bottom code is the code that i am editing like it says in my first post...the top code is the PRODUCT code...and the bottom is the CATEGORY code...its the category code which i cant seem to get working , have no idea why 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