Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2011
    Posts
    30
    Plugin Contributions
    0

    Default Show 4 products from a category as a slide show on mainpage

    Is there a way to have a slide show a group of 4 products from each category on mainpage?
    Thanks

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Show 4 products from a category as a slide show on mainpage

    Sure...with custom coding.

    You would need to think through just exactly how you want it displayed, create the images to be used then hire someone as there is no module at this time that will do what you want.

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Show 4 products from a category as a slide show on mainpage

    If you are willing and able to set it up yourself and don't need it to dynamically determine the categories and products to use, you could use one of the slideshow mods in Free Addons (like Ultimate Fade-in Slideshow) and make an instance of it for each category in define_main_page.php. That is basically a case of following directions, as long as you are good at following directions.

  4. #4
    Join Date
    Mar 2010
    Location
    Canada
    Posts
    46
    Plugin Contributions
    0

    Default Re: Show 4 products from a category as a slide show on mainpage

    I did this which calls the images from a banner group Slider
    which could probably be modified for your purposes

    <!-- bof Easy Slider 1.7 -->
    <div id="container">
    <div id="content">
    <?php

    global $db;
    $sql = "SELECT banners_title,banners_url,banners_image FROM ".TABLE_BANNERS." z where status='1' and banners_group ='Slider'";
    $result = $db->Execute($sql);
    $path = HTTP_SERVER.DIR_WS_CATALOG.DIR_WS_IMAGES;
    if ($result->RecordCount() > 0) {
    echo '<div id="slider"><ul>';
    while (!$result->EOF) {

    echo '<li><a href="'.($result->fields['banners_url']).'"><img src="'.$path.($result->fields['banners_image']).'" class="clip" title="'.($result->fields['banners_title']).'" /></a></li>';

    $result->MoveNext();
    }
    echo '</ul></div>';
    } else {
    echo 'no value';
    }
    ?>
    </div>
    </div>
    <!-- eof Easy Slider 1.7 --><div class="clearBoth"></div>

  5. #5
    Join Date
    Apr 2010
    Posts
    319
    Plugin Contributions
    0

    Default Re: Show 4 products from a category as a slide show on mainpage

    thanks for sharing this script it is excellent for slider

    bryan

  6. #6
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Show 4 products from a category as a slide show on mainpage

    You really felt this thread needed to be edited? That's a bit too much totalitarian isn't it?

 

 

Similar Threads

  1. Show products from category under a product listing
    By Guptyboy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 Jul 2009, 03:39 AM
  2. Show all products from a category
    By teva in forum General Questions
    Replies: 1
    Last Post: 12 May 2009, 01:52 PM
  3. Replies: 4
    Last Post: 24 Oct 2008, 10:17 AM
  4. New Products Sidebox Show Products from one category?
    By flirt4 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 23 Jul 2007, 07:54 PM
  5. How do I not show category text on mainpage
    By IntelCos in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 4 Feb 2007, 11:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR