Skip to content

Instantly share code, notes, and snippets.

@bigin
Last active May 14, 2017 07:04
Show Gist options
  • Save bigin/d045f90d2197d94574a93f3dfd170649 to your computer and use it in GitHub Desktop.
Save bigin/d045f90d2197d94574a93f3dfd170649 to your computer and use it in GitHub Desktop.
<?php
if(get_page_slug(false) == 'index') {
$catalog->renderSection('FrontendItemList', array('routeid' => 25));
echo $catalog->content;
}
echo $catalog->pagination;
$catalog->renderSection('FrontendCategoryList');
echo $catalog->content;
$catalog->renderSection('FrontendBreadCrumbs');
echo $catalog->breadcrumbs;
$catalog->renderSection('FrontendSearchResultContent');
echo $catalog->content;
$catalog->renderSection('FrontendSearchForm');
echo $catalog->searchform
$catalog->itemRow = '<div class="your-class"><h3>[[name]]</h3>...</div>';
$catalog->renderSection('FrontendItemList', array('routeid' => 25));
echo $catalog->content;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment