Jump to content

Going Crazy With Frontpage Category Module - Please help


htech

Recommended Posts

hey guys

please 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 all
Please help guys :) what am i doing wrong????

Link to comment
Share on other sites

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

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