marko2002 Posted August 11, 2015 Share Posted August 11, 2015 Hi, just wondering if it's possible to show 2 different "blocks" of Latest Products on the home page from the two categories I have available - for example I sell new and used books and would envisage visitors finding it much more aesthetically pleasing to instantly see "New Books" and "Used Books" separately, thus giving them the choice straight away where they want to focus.Thanks in advanceMarko Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted August 11, 2015 Share Posted August 11, 2015 This might do what you want:https://www.semperfiwebservices.com/homepage-featured-categories-cc6.html Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 11, 2015 Share Posted August 11, 2015 I think this is more on point to what you are wanting to show:http://www.cubecartforums.org/index.php?showtopic=17980 Quote Link to comment Share on other sites More sharing options...
marko2002 Posted August 11, 2015 Author Share Posted August 11, 2015 Thanks for the replies Gents, and yes bsmither, that is spot on, many thanks Marko Quote Link to comment Share on other sites More sharing options...
marko2002 Posted August 11, 2015 Author Share Posted August 11, 2015 hmm, however, I presume this edit is for a different skin other than the "foundation" - edit's don't seem to work ...In CubeCart's stock skins, edit the template file content.homepage.php. Find:--------------------------------------------------{if isset($LATEST_PRODUCTS)}<div> <h2>{$LANG.catalogue.latest_products}</h2> {foreach $LATEST_PRODUCTS as $product} <div class="latest_product">--------------------------------------------------Those lines don't seem to exist, a few do but not the block as above - any idea's on how to apply this to the foundation skin?Thanks againMarko Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 11, 2015 Share Posted August 11, 2015 As was mentioned in that conversation, applying the skin edits is very individualized to the skin. That said, all skins show the same general data, just laid out differently. Thus, the <div> structure, the CSS style classes, etc, would be different, but there will always be (virtually) the same Smarty code.In Foundation's template content.homepage.php:Near lines 18-22: {if isset($LATEST_PRODUCTS)} <div id="content_latest_products"> <h2>{$LANG.catalogue.latest_products}</h2> <ul class="small-block-grid-1 medium-block-grid-3 large-block-grid-3" data-equalizer> {foreach from=$LATEST_PRODUCTS item=product}If you wish, feel free to send me a PM with your email address and we can complete the edits to the Foundation skin by email. Quote Link to comment Share on other sites More sharing options...
marko2002 Posted August 12, 2015 Author Share Posted August 12, 2015 Would be great to have this up and running on the new skin, PM sent Marko Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 14, 2015 Share Posted August 14, 2015 The instructions to split Latest Products by their Categories has been updated to include Foundation.http://www.cubecartforums.org/index.php?showtopic=17980 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.