Last active
August 29, 2015 14:19
-
-
Save cscartjp/3f95c6843c81eb4205bb to your computer and use it in GitHub Desktop.
CS-Cart Advanced Add-on Tutorial
This file contains 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
<div class="dashboard-row-bottom"> | |
<div class="dashboard-viewed-category"> | |
<h4>Viewed categories</h4> | |
<div class="dashboard-viewed-category-list"> | |
{if $viewed_categories} | |
<ul> | |
{foreach from=$viewed_categories item="category_data"} | |
<li><strong><a href="{"profiles.update?user_id=`$category_data.user_id`"|fn_url}">{$category_data.user_name}</a></strong>: | |
{foreach from=$category_data.categories key="category_id" item="category_name"} | |
<a href="{"categories.update?category_id=`$category_id`"|fn_url}">{$category_name}</a>, | |
{/foreach} | |
</li> | |
{/foreach} | |
</ul> | |
{else} | |
<ul> | |
<li>No data found</li> | |
</ul> | |
{/if} | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment