<%$cat_pagenum = $Pagenum $url_query = $Request.extra_path IF ($category_id OR $Request.extra_path) AND NOT $SHOW THEN FETCH Category DISPLAY $Data.Category_forced_sorting = $Category.forced_sorting $Data.found_a_category = 1 $Data.seo_url = $seo_url $Data.category_id = $Category.category_id IF $seo_title THEN $TITLE=$seo_title ELSIF $Shop.seo_category_smarttitle_enable THEN $TITLE = CALL EXEC($Shop.seo_category_smarttitle) ELSE $TITLE=$Category.GroupName ENDIF IF $seo_descr THEN $META_DESCRIPTION=$seo_descr ELSIF $Shop.seo_category_smartdescr_enable THEN $META_DESCRIPTION = CALL EXEC( $Shop.seo_category_smartdescr ) ENDIF IF $seo_keywords THEN $META_KEYWORDS=$seo_keywords ENDIF /* Set canonical URL to make google happy */ %> <% NEXTROW ENDFETCH ENDIF%> <%INCLUDE 'INC_head.htm'%> <%INCLUDE 'INC_above.html'%> <%$NO_TEXT=1 $LINKS=1 INCLUDE 'mobile-category-trace.htm'%> <%IF NOT $category_id THEN%>
<%QUERY TopCategory() DO IF $Numrows>0 THEN%> <% ENDIF ENDQUERY%> <%ELSE QUERY ProductVariant() DO IF $Numrows>0 THEN IF $Data.order=='DESC' THEN $rev_order='ASC' ELSE $rev_order='DESC' ENDIF%>
[%PRICE Pris%] [%NAME Namn%] [%BRAND Fabrikat%]
<%ENDIF DISPLAY NEXTROW ENDQUERY%>
<%QUERY SubCategory(category_id=$category_id,state='ACTIVE') DO $NumProducts=$Numrows IF $Numrows>0 THEN $catfound=1%> <%ENDIF ENDQUERY%> <%ENDIF%> =($NumProducts) OR NOT $NumProducts THEN%>style="display:none;"<%ENDIF%> id="link_show_more" >[%SHOW_MORE Visa Fler%]
<%INCLUDE 'INC_below.html'%>