Re: Embed Sitemap
OK so Ive been working on this and I have a code problem. if you look at the code below you will see "debug 22" I cant seem to get into the foreach look. Is my syntax for the foreach loop incorrect? I do have subcats.....
{foreach from=$categories item=subcat name=subcategories}
debug<a href="home.php?cat={$subcat.categoryid}">{$subcat. category|escape}</a>
{if $subcat.subcats gt 0}
debug 22
__________________
X-Cart version 4.4.3
|