VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: welrachid on November 28, 2016, 10:47:04 AM

Title: Missing top products on VM frontpage
Post by: welrachid on November 28, 2016, 10:47:04 AM
Hi guys.
Not sure whats going on.
I have a problem related to showing top products for guest visitors.

I want to use it for a "fast lane", so that you can come to the website and directly buy the items that is most sold.
I have included my settings.
The "page" can be found on
http://bestilling.espresso-systems.dk/

Setup is:
VM 3.0.18
J! 3.6.4
PHP 5.4.45

The only one i can make work is the "lastest products"

Thanks
Wel
Title: Re: Missing top products on VM frontpage
Post by: mcmannehan2002 on November 28, 2016, 16:48:03 PM
What template you use?
Title: Re: Missing top products on VM frontpage
Post by: jenkinhill on November 28, 2016, 17:08:40 PM
I no longer have a basic VM3.0.18 site here, but in Joomla main menu settings with VM3.0.18.5 you can easily define the number of best selling (and any other type) products to display on a single page, as the layout options are all available in the menu configuration.
Title: Re: Missing top products on VM frontpage
Post by: welrachid on November 28, 2016, 18:30:45 PM
Quote from: mcmannehan on November 28, 2016, 16:48:03 PM
What template you use?
vmbeez base but template should be standard since i have no override for vm on that place
Title: Re: Missing top products on VM frontpage
Post by: welrachid on November 28, 2016, 18:37:01 PM
Quote from: jenkinhill on November 28, 2016, 17:08:40 PM
I no longer have a basic VM3.0.18 site here, but in Joomla main menu settings with VM3.0.18.5 you can easily define the number of best selling (and any other type) products to display on a single page, as the layout options are all available in the menu configuration.
Im using standard VM front page menu item. As mentioned it works with latest products.

is 3.18.5 safe for production? im only using stable versions on this site. Joomla backend doesnt say there is an update for the platform.
Title: Re: Missing top products on VM frontpage
Post by: lindapowers on November 28, 2016, 19:34:23 PM
Quote from: welrachid on November 28, 2016, 18:37:01 PM
Quote from: jenkinhill on November 28, 2016, 17:08:40 PM
I no longer have a basic VM3.0.18 site here, but in Joomla main menu settings with VM3.0.18.5 you can easily define the number of best selling (and any other type) products to display on a single page, as the layout options are all available in the menu configuration.

is 3.18.5 safe for production? im only using stable versions on this site. Joomla backend doesnt say there is an update for the platform.

VM front page is deprecated, change it for the new VM category menu item, for what you want it should work, categories or store description dont show in new category page but is reported already . Backup first but truth is we are using 3.0.18.5 in live site without major issues.
Title: Re: Missing top products on VM frontpage
Post by: welrachid on November 28, 2016, 20:25:05 PM
Quote from: lindapowers on November 28, 2016, 19:34:23 PM
Quote from: welrachid on November 28, 2016, 18:37:01 PM
Quote from: jenkinhill on November 28, 2016, 17:08:40 PM
I no longer have a basic VM3.0.18 site here, but in Joomla main menu settings with VM3.0.18.5 you can easily define the number of best selling (and any other type) products to display on a single page, as the layout options are all available in the menu configuration.

is 3.18.5 safe for production? im only using stable versions on this site. Joomla backend doesnt say there is an update for the platform.

VM front page is deprecated, change it for the new VM category menu item, for what you want it should work, categories or store description dont show in new category page but is reported already . Backup first but truth is we are using 3.0.18.5 in live site without major issues.

Thanks
now i've changed it to category view and i tried both "show products" = on/off and show top products (yes/no) 4 rows and default row=3
either all products are displayed or NO products at all.

Should i update to 3.18.5 before this will work?
Title: Re: Missing top products on VM frontpage
Post by: lindapowers on November 29, 2016, 09:51:09 AM
Quote from: welrachid on November 28, 2016, 20:25:05 PM
Quote from: lindapowers on November 28, 2016, 19:34:23 PM
Quote from: welrachid on November 28, 2016, 18:37:01 PM
Quote from: jenkinhill on November 28, 2016, 17:08:40 PM
I no longer have a basic VM3.0.18 site here, but in Joomla main menu settings with VM3.0.18.5 you can easily define the number of best selling (and any other type) products to display on a single page, as the layout options are all available in the menu configuration.

is 3.18.5 safe for production? im only using stable versions on this site. Joomla backend doesnt say there is an update for the platform.

VM front page is deprecated, change it for the new VM category menu item, for what you want it should work, categories or store description dont show in new category page but is reported already . Backup first but truth is we are using 3.0.18.5 in live site without major issues.

Thanks
now i've changed it to category view and i tried both "show products" = on/off and show top products (yes/no) 4 rows and default row=3
either all products are displayed or NO products at all.

Should i update to 3.18.5 before this will work?

Hi, yes, but backup, that worked for me in 3.18.5 you will find many settings in that version in global config and in the menu item.

Regards
Title: Re: Missing top products on VM frontpage
Post by: welrachid on November 29, 2016, 12:58:32 PM
Quote from: lindapowers on November 29, 2016, 09:51:09 AM
Quote from: welrachid on November 28, 2016, 20:25:05 PM
Quote from: lindapowers on November 28, 2016, 19:34:23 PM
Quote from: welrachid on November 28, 2016, 18:37:01 PM
Quote from: jenkinhill on November 28, 2016, 17:08:40 PM
I no longer have a basic VM3.0.18 site here, but in Joomla main menu settings with VM3.0.18.5 you can easily define the number of best selling (and any other type) products to display on a single page, as the layout options are all available in the menu configuration.

is 3.18.5 safe for production? im only using stable versions on this site. Joomla backend doesnt say there is an update for the platform.

VM front page is deprecated, change it for the new VM category menu item, for what you want it should work, categories or store description dont show in new category page but is reported already . Backup first but truth is we are using 3.0.18.5 in live site without major issues.

Thanks
now i've changed it to category view and i tried both "show products" = on/off and show top products (yes/no) 4 rows and default row=3
either all products are displayed or NO products at all.

Should i update to 3.18.5 before this will work?

Hi, yes, but backup, that worked for me in 3.18.5 you will find many settings in that version in global config and in the menu item.

Regards

Hi again
I tried. Still nothing.

I've attached my orderlist and how the setup of that menuitem and also the VM global setup.

Thanks again.

Can you not reproduce this? Is there a way for me to let VM "count" for me what it considers top selling products?
I must mention that all products are set to price=0, because there is no payment in the shop. Im using "invoicing" option of e-conomic.com so that they create the actual invoice based on the customers individual pricing.
But in the renevue report i have items sold as expected. Is top 10 selling products based on number of items sold or their pricing?
Title: Re: Missing top products on VM frontpage
Post by: lindapowers on November 29, 2016, 21:12:24 PM
Quote from: welrachid on November 29, 2016, 12:58:32 PM
Quote from: lindapowers on November 29, 2016, 09:51:09 AM
Quote from: welrachid on November 28, 2016, 20:25:05 PM
Quote from: lindapowers on November 28, 2016, 19:34:23 PM
Quote from: welrachid on November 28, 2016, 18:37:01 PM
Quote from: jenkinhill on November 28, 2016, 17:08:40 PM
I no longer have a basic VM3.0.18 site here, but in Joomla main menu settings with VM3.0.18.5 you can easily define the number of best selling (and any other type) products to display on a single page, as the layout options are all available in the menu configuration.

is 3.18.5 safe for production? im only using stable versions on this site. Joomla backend doesnt say there is an update for the platform.

VM front page is deprecated, change it for the new VM category menu item, for what you want it should work, categories or store description dont show in new category page but is reported already . Backup first but truth is we are using 3.0.18.5 in live site without major issues.

Thanks
now i've changed it to category view and i tried both "show products" = on/off and show top products (yes/no) 4 rows and default row=3
either all products are displayed or NO products at all.

Should i update to 3.18.5 before this will work?

Hi, yes, but backup, that worked for me in 3.18.5 you will find many settings in that version in global config and in the menu item.

Regards

Hi again
I tried. Still nothing.

I've attached my orderlist and how the setup of that menuitem and also the VM global setup.

Thanks again.

Can you not reproduce this? Is there a way for me to let VM "count" for me what it considers top selling products?
I must mention that all products are set to price=0, because there is no payment in the shop. Im using "invoicing" option of e-conomic.com so that they create the actual invoice based on the customers individual pricing.
But in the renevue report i have items sold as expected. Is top 10 selling products based on number of items sold or their pricing?


Hi, just tested and in my case they are shown but we use price and sell them in the common way, the only ones we have without price are some parent products which don't appear there anyway.

Sorry can't help you more since I have no clue about what does VM take in to account for those top products.

Regards
Title: Re: Missing top products on VM frontpage
Post by: jenkinhill on November 29, 2016, 23:16:35 PM
Top Ten is based on confirmed sales.
Title: Re: Missing top products on VM frontpage
Post by: welrachid on November 30, 2016, 00:51:21 AM
Quote from: jenkinhill on November 29, 2016, 23:16:35 PM
Top Ten is based on confirmed sales.
This means that shipped items are considered confirmed. Correct? Status =S i think
Title: Re: Missing top products on VM frontpage
Post by: welrachid on November 30, 2016, 00:53:10 AM
Quote from: lindapowers on November 29, 2016, 21:12:24 PM
Quote from: welrachid on November 29, 2016, 12:58:32 PM
Quote from: lindapowers on November 29, 2016, 09:51:09 AM
Quote from: welrachid on November 28, 2016, 20:25:05 PM
Quote from: lindapowers on November 28, 2016, 19:34:23 PM
Quote from: welrachid on November 28, 2016, 18:37:01 PM
Quote from: jenkinhill on November 28, 2016, 17:08:40 PM
I no longer have a basic VM3.0.18 site here, but in Joomla main menu settings with VM3.0.18.5 you can easily define the number of best selling (and any other type) products to display on a single page, as the layout options are all available in the menu configuration.

is 3.18.5 safe for production? im only using stable versions on this site. Joomla backend doesnt say there is an update for the platform.

VM front page is deprecated, change it for the new VM category menu item, for what you want it should work, categories or store description dont show in new category page but is reported already . Backup first but truth is we are using 3.0.18.5 in live site without major issues.

Thanks
now i've changed it to category view and i tried both "show products" = on/off and show top products (yes/no) 4 rows and default row=3
either all products are displayed or NO products at all.

Should i update to 3.18.5 before this will work?

Hi, yes, but backup, that worked for me in 3.18.5 you will find many settings in that version in global config and in the menu item.

Regards

Hi again
I tried. Still nothing.

I've attached my orderlist and how the setup of that menuitem and also the VM global setup.

Thanks again.

Can you not reproduce this? Is there a way for me to let VM "count" for me what it considers top selling products?
I must mention that all products are set to price=0, because there is no payment in the shop. Im using "invoicing" option of e-conomic.com so that they create the actual invoice based on the customers individual pricing.
But in the renevue report i have items sold as expected. Is top 10 selling products based on number of items sold or their pricing?


Hi, just tested and in my case they are shown but we use price and sell them in the common way, the only ones we have without price are some parent products which don't appear there anyway.

Sorry can't help you more since I have no clue about what does VM take in to account for those top products.

Regards

Okay thanks a lot for you time. I think ill do some vanilla testing.
Title: Re: Missing top products on VM frontpage
Post by: jenkinhill on November 30, 2016, 11:23:30 AM
Quote from: welrachid on November 30, 2016, 00:51:21 AM
This means that shipped items are considered confirmed. Correct? Status =S i think

Yes. Any product that has been sold.
Title: Re: Missing top products on VM frontpage
Post by: welrachid on December 14, 2016, 01:51:57 AM
Hi jenkinhill

I've been looking more into this and my findings suggest that i must correct you.
in file administrator/components/com_virtuemart/models/product.php line 566+567 it specifically says that the price MUST be higer than 0, which in my case always returns an empty set because pricing is not part of the shop.
commenting out those two lines will produce expected result.

i will therefore consider this a bug
Title: Re: Missing top products on VM frontpage
Post by: Milbo on December 14, 2016, 13:01:09 PM
then enter a price with 0.0001 or so. Usually, when you have free products and normal products, you dont want to show the free products among the top ten
Title: Re: Missing top products on VM frontpage
Post by: Milbo on December 14, 2016, 13:02:26 PM
and yes, please use the last vm3.0.18.6 http://dev.virtuemart.net/attachments/download/1037/com_virtuemart.3.0.18.6_extract_first.zip
Title: Re: Missing top products on VM frontpage
Post by: welrachid on December 14, 2016, 13:09:35 PM
The thing is that i dont want any pricing on the products. Not even showing. Any pricing indication to the customer would be misleading. Therefore i dont that would be a solution.
I've updated to newest now..
VirtueMart 3.0.18.6 Blue Corvus 9406

So you do not consider this a bug? is that correct understood? and making yet another setting option is also not viable?
Title: Re: Missing top products on VM frontpage
Post by: Milbo on December 14, 2016, 13:55:46 PM
We could combine it with the catalogue setting. Or you have another idea for a param, which can be used for that.
Title: Re: Missing top products on VM frontpage
Post by: welrachid on December 14, 2016, 13:59:02 PM
Combining it with catalog settings would be good. unless it has more influence elsewhere (like statistics graph or the like). I dont use the stats provided myself.

Maybe in the same time we could change the naming of it from "topten" to "topselling" since the numbe 10 is only possible with 10x1,5x2,5x2 and 1x10 (rows X products each row)
Title: Re: Missing top products on VM frontpage
Post by: Milbo on December 14, 2016, 18:10:02 PM
When you use the cataloge mode, then we can use it
Title: Re: Missing top products on VM frontpage
Post by: Milbo on December 15, 2016, 14:29:44 PM
Or you just use one parent product, for all other products, with a fixed price and then you remove just the price sublayout per override.


Because most catalogues use prices.
Title: Re: Missing top products on VM frontpage
Post by: welrachid on December 20, 2016, 07:56:51 AM
Cant do that.
The products are automatically imported by category from e-conomic.com and they are created as single products. After creation a small text and image are the only thing missing.
Title: Re: Missing top products on VM frontpage
Post by: Milbo on January 04, 2017, 22:32:23 PM
But why you cannot set a fixed parent_id, and there you set a price, one time.