Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Clothes shop example for Reefine
{exp:reefine channel="clothes" parse="inward" theme="shop"
filter:fields="title|product_type|size|colour|price"
filter:price:type="number_range"
url="/{segment_1}/{segment_2}/{product_type}/{size}/{colour}/{price}/{title}"}
{entries}
{if entry_ids=='-1'} <p>No matching products found.</p> {/if}
{exp:channel:entries entry_id="{entry_ids}"
disable="categories|category_fields|member_data" dynamic="no"
orderby="title" sort="asc" status="not closed" limit="8"
paginate="yes"}
<div class="reefine_product size_{size}">
<div class="reefine_product_image">
<img src="{product_image}" alt="{title}" />
</div>
<div class="reefine_product_caption">
<a href="/products/{url_title}">{title}</a>
<div class="reefine_product_price">&pound;{price}</div>
</div>
<div class="reefine_product_links"><a href="/products/{url_title}">Buy Now</a></div>
</div>
{paginate} <div class="paging">Page {current_page} of {total_pages} pages {pagination_links}</div>
{/paginate} {/exp:channel:entries} {/entries}
{/exp:reefine}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.