Jump to content

RSS feed block


Recommended Posts

  • 3 weeks later...
  • 4 years later...

hi

 

i need to use newproduct block again i wrote module code in footer.tpl bt it shows only title the products doesnt visible.

 

 

 

{capture name=path}{l s='New products'}{/capture}
<h1 class="page-heading product-listing">{l s='New products'}</h1>

{if $products}
    <div class="content_sortPagiBar">
        <div class="sortPagiBar clearfix">
            {include file="./product-sort.tpl"}
            {include file="./nbr-product-page.tpl"}
        </div>
        <div class="top-pagination-content clearfix">
            {include file="./product-compare.tpl"}
            {include file="$tpl_dir./pagination.tpl" no_follow=1}
        </div>
    </div>

    {include file="./product-list.tpl" products=$products}

    <div class="content_sortPagiBar">
        <div class="bottom-pagination-content clearfix">
            {include file="./product-compare.tpl"}
            {include file="./pagination.tpl" no_follow=1 paginationId='bottom'}
        </div>
    </div>
    {else}
    <p class="alert alert-warning">{l s='No new products.'}</p>
{/if}
 

 

this is my code what should i change

Edited by samics (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...