Created
December 10, 2013 15:56
-
-
Save Patrick64/7892949 to your computer and use it in GitHub Desktop.
Clothes shop example for Reefine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{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">£{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