VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: 2cool on October 11, 2018, 18:54:14 PM

Title: module virtuemart latest article show wrong prices
Post by: 2cool on October 11, 2018, 18:54:14 PM
Hi,
I added a new module 'virtuemart articles' displayed at menu 'new'
Showing latest 50 products. But I shows prices from b2b shoppergroup !
What could be the problem here, or is this module function not able to use for multiple groups/prices?

Running Joomla! 3.8.13 and VirtueMart 3.2.14

Thanks in advance,
Pas
Title: Re: module virtuemart latest article show wrong prices
Post by: Jörgen on October 11, 2018, 19:28:59 PM
A live URL would be nice ....

Jörgen @ Kreativ Fotografi
Title: Re: module virtuemart latest article show wrong prices
Post by: Studio 42 on October 11, 2018, 19:43:23 PM
Quote from: 2cool on October 11, 2018, 18:54:14 PM
Hi,
I added a new module 'virtuemart articles' displayed at menu 'new'
Showing latest 50 products. But I shows prices from b2b shoppergroup !
What could be the problem here, or is this module function not able to use for multiple groups/prices?

Running Joomla! 3.8.13 and VirtueMart 3.2.14

Thanks in advance,
Pas
Do you use a virtuemart core module or 3rd party module ?
'virtuemart articles' does not exist, but virtuemart products in core
Title: Re: module virtuemart latest article show wrong prices
Post by: 2cool on October 11, 2018, 19:50:15 PM
H Jörgen, can't do because its disables now.

Got a reply this could be fixed by 'disabling cache' in adv options.

It's indeed virtuemart products core module.

Thanks,
Pas
Title: Re: module virtuemart latest article show wrong prices
Post by: Studio 42 on October 11, 2018, 20:45:57 PM
Joomla cache is not working because currency or shopper group are unknown and the cache key is same for Joomla.
The dev team have to create  the right key, so the modules can be cached for all situations else cache set bad results
Title: Re: module virtuemart latest article show wrong prices
Post by: 2cool on October 12, 2018, 08:29:20 AM
There's two cache settings in this module.
In advanced tab this cache option is already disabled.
But in the first tab there's  'virtuemart cache', this is set to yes.
Should all cache options set to 'no'  to fix this problem and show the right price to the right shoppergroup?

Regards,
Pas
Title: Re: module virtuemart latest article show wrong prices
Post by: Studio 42 on October 12, 2018, 09:39:19 AM
If you have any problem then disable cache. As i explained, the cache Key need to have shoppergroup in the key. I think that it's not the case.
You should explain this in the bug reports section of the forum if you want that team implement it.