Weblog Enhancements
Use our Forums to find examples and answers to your questions. If you have advanced requirements for your project, contact us and our staff can help you find a solution.
For the weblog that is selected as the FoxEE weblog, it will contain ALL standard weblog features along with the following additions:
conditionals:
- foxee_is_item_active - is the item active for foxee
- foxee_is_on_sale - does the item have a sale price > 0?
- foxee_is_physical_product
- foxee_has_inventory
- foxee_is_downloadable
- foxee_is_subscription
- foxee_is_featured
- foxee_category
variables:
- foxee_price
- foxee_saleprice
- foxee_weight
- foxee_inventory
- foxee_category
example:
<ul>
<li style="list-style-type:none;">
{exp:weblog:entries weblog="products" disable="member_data|trackbacks"}
<ul>
<li style="list-style-type:none;">
{if foxee_is_item_active}
<ul>
<li style="list-style-type:none;">
{title}<br>
{if foxee_is_on_sale}<br>
{foxee_saleprice}<br>
was {foxee_price}<br>
{if:else}<br>
{foxee_price}<br>
{/if}<br>
{summary}<br>
{if foxee_is_physical OR foxee_is_downloadable
OR foxee_is_subscription}<br>
{exp:foxee:addtocart method="link" name="{title}" price="{if foxee_is_on_sale}
{foxee_saleprice}{if:else}{foxee_price}{/if}" label="Add to Cart"
category="{foxee_category}"}
<br>
{/if}
</li>
</ul>
{/if}
</li>
</ul>
{/exp:weblog:entries}
</li>
</ul>
