Skip to content

Instantly share code, notes, and snippets.

@kmgdevelopment
Created October 30, 2013 23:35
Show Gist options
  • Select an option

  • Save kmgdevelopment/7242149 to your computer and use it in GitHub Desktop.

Select an option

Save kmgdevelopment/7242149 to your computer and use it in GitHub Desktop.
{exp:stash:parse process='end' no_results_prefix='rating'}
{exp:channel:entries
channel='{product_channels}'
entry_id='{stash:entry_ids}'
limit='7'
disable='member_data|category_fields'
orderby='title'
sort='asc'
paginate='both'
status='not closed'
}
{if rating:no_results}
<p>No Results.</p>
{/if}
{if count == 1}
{pagination}
</header>
<div class="listing">
{/if}
{products_item}
{if count == total_results}
</div><!--/.listing-->
{pagination}
{/if}
{/exp:channel:entries}
{/exp:stash:parse}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment