VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: brandiware on August 17, 2022, 08:01:44 AM

Title: Related Products price incorrect after quantity change
Post by: brandiware on August 17, 2022, 08:01:44 AM
Hello VM,

when the qty of a product is changed by pressing the "plus" sign, all related products get the same price. When the qty
is reset to 1 the prices are corrected again. Is there a later version of VM that fixes this ?
Also, any experience already with VM and PHP 8.0 or Joomla 4 ?

Thanks for any help on this

brandiware



VirtueMart 3.8.9 10473
Title: Re: Related Products price incorrect after quantity change
Post by: GJC Web Design on August 17, 2022, 12:14:31 PM
have u checked this behaviour on a standard ( VM Beez 3 ) template?
Title: Re: Related Products price incorrect after quantity change
Post by: Studio 42 on August 17, 2022, 12:24:50 PM
I think that the related products are at the CART position, so all price are updated because the javascript get the main container to update the price.
If you change the the related product to position "onbottom" or "related_products', perhaps it work better
Title: Re: Related Products price incorrect after quantity change
Post by: brandiware on August 23, 2022, 18:46:16 PM
Hi all,

thanks to Max the root cause of this problem was found very quickly. Our ProductDetail override seems to be lagging a bit too
far behind updates to the logic of the VM Standard ProductDetail.
Switching off the overrides in the VM config proved the initial suspicion to be right.

Thanks for your replies anyway
Stefan