Page 1 of 1

how to remove (exclude) items from bestseller list

Posted: Tue Jul 15, 2014 4:17 am
by oz457
Is there a way to exclude products from the bestseller list? I have some items that are actually free of charge, and I don't want them to get into the bestseller list on the website.

Thanks for any info.

Re: how to remove (exclude) items from bestseller list

Posted: Tue Jul 15, 2014 2:03 pm
by uNeverNo
Two ways to do this:
(1)ask a coder to develop a vQmod extension or do it by yourself;
(2)hard code the best seller module.

This is how to hard code the best seller module:

Open catalog\controller\module\bestseller.php

and find

Code: Select all

foreach ($results as $result) {
add before it:

Code: Select all

$skip_product_ids = array(w, x, y, z);
and add right afterit:

Code: Select all

if (in_array($result['product_id'], $skip_product_ids)) {
    continue;
}
w, x, y, z are the product ids of the products you want to hide from the best seller module and you can add as many product ids as you want. Remember to separate those product ids with commas.

Re: how to remove (exclude) items from bestseller list

Posted: Tue Aug 05, 2014 2:19 pm
by samaraki
Is there a way to do this, but with categories rather than specific products?

Re: how to remove (exclude) items from bestseller list

Posted: Tue Aug 05, 2014 2:49 pm
by uNeverNo
samaraki wrote:Is there a way to do this, but with categories rather than specific products?
http://www.opencart.com/index.php?route ... n_id=17983

Re: how to remove (exclude) items from bestseller list

Posted: Tue Aug 05, 2014 6:16 pm
by samaraki
Does this mod also allow to exclude "sold out" items?

Re: how to remove (exclude) items from bestseller list

Posted: Wed Aug 06, 2014 7:55 pm
by uNeverNo
samaraki wrote:Does this mod also allow to exclude "sold out" items?
Yes. By the way, I have replied to your email. Check it out :)

Re: how to remove (exclude) items from bestseller list

Posted: Sun May 12, 2019 12:53 pm
by samaraki
Hi,

The extention I got from you 5 years ago... Is there an upto date version of it for OC3?
Exclude products from bestseller,latest and special modules

Re: how to remove (exclude) items from bestseller list

Posted: Sun May 12, 2019 9:36 pm
by johnp
Why not add your items manually and call the module Bestsellers. I use this. It's great.

https://www.opencart.com/index.php?rout ... load_id=36

Re: how to remove (exclude) items from bestseller list

Posted: Sun May 12, 2019 10:08 pm
by straightlight
Specifying the products to exclude from a module may be practical solution when a small mount of products might be sold. However, it may not bring the best interest to the store owners having to manage several thousands and above of those. The best solution would be to focus on the product type as a priority before managing the exclusions list; since it is good to say that a product based on the most demands represents the best sells either by the highest price or by the quantity but identifying those products by product types would also be ideal as a POS solution before showing them to the public on the market.

Re: how to remove (exclude) items from bestseller list

Posted: Tue May 14, 2019 3:52 pm
by samaraki
johnp wrote:
Sun May 12, 2019 9:36 pm
Why not add your items manually and call the module Bestsellers. I use this. It's great.

https://www.opencart.com/index.php?rout ... load_id=36
The reason I don't do is manually, because like Straightlight said, if you have lots of items it's not practical.
But actually I'm more so interested in this for the latest items rather than bestsellers, best sellers do not change often I do this manually anyway.
I use the Journal 3 theme, it allows you to manually select latest, bestseller, etc etc, it's super customizable, but it's automation that I want.

I have an extention that does it automatically it will exclude products or catagories automatically, the problem is, it doens't work with OC3, but some kind person has offered to try and make it work.

Re: how to remove (exclude) items from bestseller list

Posted: Tue May 14, 2019 7:33 pm
by straightlight
I use the Journal 3 theme, it allows you to manually select latest, bestseller, etc etc, it's super customizable, but it's automation that I want.
If you want the bestsellers, and other features at the same time, to show in a conformed way as POS compliance, simply see this topic: viewtopic.php?f=24&t=210586 . It is strictly based on the customers' demands versus the highest processing / completed sales based on the highest sold quantities of those demands.

Re: how to remove (exclude) items from bestseller list

Posted: Sun May 19, 2019 3:24 am
by samaraki
No, I don't want best sellers at all, I want latest products minus all the cheapo items which do not attract customers, It can be achieved manually, but It's nicer if it just hides the ones you don't like automatically. like the extention I had for OC1. Shame the developer seems to have gone...

Re: how to remove (exclude) items from bestseller list

Posted: Sun May 19, 2019 3:46 am
by straightlight
samaraki wrote:
Sun May 19, 2019 3:24 am
No, I don't want best sellers at all, I want latest products minus all the cheapo items which do not attract customers, It can be achieved manually, but It's nicer if it just hides the ones you don't like automatically. like the extention I had for OC1. Shame the developer seems to have gone...
Then, you are posting on the wrong topic. This topic subject is explicitly about removing (exclude) items from bestseller list.

Re: how to remove (exclude) items from bestseller list

Posted: Sun May 19, 2019 4:19 am
by johnp
Agreed. Wrong topic. I suggest you post in the commercial support forum and get a latest items module written with a lowest price level filter in it.