Jump to content

2 columns on home page.


Rizwan

Recommended Posts

hello

need help to make 2 columns home page.

example change in skin

<!-- Latest Products Listings -->
{if isset($fusion) && is_object($fusion) && $LATEST_PRODUCTS}
    <div class="row-fluid">
        <div class="products latest-products" data-columns="{$fusion->get('latest_product_listings_grid_columns')}">
            {foreach from=$LATEST_PRODUCTS item=product}
                {include iteration="{$product@iteration}" columns="{$fusion->get('latest_products_per_row')}" file="skins/{$SKIN_FOLDER}/templates/element.product.php"}
            {/foreach}
        </div>
    </div>
{/if}


<!-- Latest Products Listings 2 -->
{if isset($fusion) && is_object($fusion) && $LATEST2_PRODUCTS}
    <div class="home-sec-head home-sec-head-c">
    </div>
    <div class="row-fluid">
        <div class="products latest-products" data-columns="{$fusion->get('latest_product_listings_grid_columns')}">
            {foreach from=$LATEST2_PRODUCTS item=product}
                {include iteration="{$product@iteration}" columns="{$fusion->get('latest_products_per_row')}" file="skins/{$SKIN_FOLDER}/templates/element.product.php"}
            {/foreach}
        </div>
    </div>
{/if}

===============

need to make it work second code.  $LATEST2_PRODUCTS

please any one help me how to make it work. like we select latest product for home page .. . same we can select second latest product. for home page. and that show in second columns

 

thanks for help

Link to comment
Share on other sites

This extension should provide you with the ability to select those specific products to be shown in the LATEST2 set of products:
https://www.cubecart.com/extensions/plugins/homepage-featured-products

Now that the admin can select which products to show, we will then rewrite the Vector skin Homepage template code to show them.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...