keyword)) : ?> category->haschildren) : ?>
category->children)) : ?>
category->children as $category ) : ?> link = JRoute::_ ( 'index.php?option=com_virtuemart&view=category&virtuemart_category_id=' . $category->virtuemart_category_id ); $categoryNameDecorator->name = $category->category_name; $categoryDescDecorator = new stdClass(); $categoryDescDecorator->description = $category->category_description; $categoryCountDecorator = new stdClass(); $productModel = VmModel::getModel('product'); $ids = $productModel->sortSearchListQuery (TRUE, $category->virtuemart_category_id); $categoryCountDecorator->count = count($ids); $categoryImageDecorator = new stdClass(); $categoryImageDecorator->image = $category->images[0]; $categoryImageDecorator->link = $categoryNameDecorator->link; $categoryItems = new stdClass(); $categoryItems->categoryName = $categoryNameDecorator; $categoryItems->categoryDesc = $categoryDescDecorator; $categoryItems->categoryCount = $categoryCountDecorator; $categoryItems->categoryImage = $categoryImageDecorator; ?> @for(var i = 0; i < productsGrid.items.length; i++) {
@include("productsGrid/items/" + i + "/items")
}