Is there a way to exclude free products from the Best Sellers sidebox?
*Sorry if I posted this in the wrong section!
Is there a way to exclude free products from the Best Sellers sidebox?
*Sorry if I posted this in the wrong section!
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!]
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!
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!
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!]
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!