Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2012
    Posts
    127
    Plugin Contributions
    0

    Default Excluding free items from Best Sellers

    Is there a way to exclude free products from the Best Sellers sidebox?

    *Sorry if I posted this in the wrong section!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Excluding free items from Best Sellers

    You could customize the sidebox for:
    /includes/modules/sideboxes/best_sellers.php

    using your templates and overrides for:
    /includes/modules/sideboxes/your_template_dir/best_sellers.php

    and adding to the two select statements to the WHERE:
    Code:
    and p.products_price_sorter > 0
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Apr 2012
    Posts
    127
    Plugin Contributions
    0

    Default Re: Excluding free items from Best Sellers

    This thread is a bit old, and I thank you for hopping in with an answer. I was confused at first (not very good at combing through php code) - so I had decided to let it sit a while.

    Well I've been making changes to my shop today and decided to give it a try. Finally figured it out, and it works like a charm! Thank you!

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Excluding free items from Best Sellers

    Thanks for the update that this worked for you ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Stop product from displaying in best sellers
    By DigitalShadow in forum General Questions
    Replies: 0
    Last Post: 19 Jul 2011, 03:13 PM
  2. Excluding a product or category from best selling list
    By Moncia in forum Basic Configuration
    Replies: 33
    Last Post: 14 Nov 2010, 04:06 AM
  3. disabled items showing in best sellers list
    By EraD in forum General Questions
    Replies: 6
    Last Post: 9 Feb 2010, 12:37 AM
  4. how to exclude specific product from best sellers
    By traders in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 May 2008, 06:06 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