Jump to content

Top Seller Block - Prevent certain items showing


Recommended Posts

I have a small number of items in my store that are offered as add-ons for an order. However, they consistently show up as top sellers in the Top Seller block. Is there any way I can make these products not show up in that block at all no matter how many are sold?

Link to comment
Share on other sites

you would have to filter them out by overriding the code. you can either alter the ProductSale class, and change the query so that they are not retrieved from the database. Or you could alter the BestSalesController so that they are filtered out.

 

either way, how do you identify that they are 'add-ons'? are they in a certain category, do they have 'addon' in the product name. you will need to identify these products somehow so they can be filtered out.

 

if you are not familiar with this type coding, i can offer my services to you. send me a PM and we can discuss the details.

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...