VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: dmonco on September 13, 2012, 02:15:24 AM

Title: Virtue Mart recalculate price bug
Post by: dmonco on September 13, 2012, 02:15:24 AM
Hi.
I work along with VM but see this kind of bug at first time. Have thoughts that it can be even trojan or maybe some new settings of VM 2.0.8?
Here is an example:
http://fashioninline.fi/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=35&virtuemart_category_id=1678&Itemid=777 (http://fashioninline.fi/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=35&virtuemart_category_id=1678&Itemid=777)
If you look carefully to a block with prices you will see that first price was Myyntihinta: 104,55 €
But then somehow this price doubled: Myyntihinta: 209,10 €

I tryed to make an audit with Google Chrome, and found this strange link
option=com_virtuemart&nosef=1&view=productdetails&task=recalculate&format=json& .... etc.
Something creates this links and creates json file which double my price.

Any thoughts how to turn it off or to find this javascript file to remove it?
Title: Re: Virtue Mart recalculate price bug
Post by: dmonco on September 13, 2012, 02:45:17 AM
I found the file which doubles my price but it's native file.
Here it is components/com_virtuemart/assets/js/vmprices.js
Now I think somebody enabled something in admin and I can't find it. Any thoughts?

P.S.
My VM settings:
In product description - override is disabled.
In Prices and taxes config all rules are disabled.
Title: Re: Virtue Mart recalculate price bug
Post by: Milbo on September 13, 2012, 10:50:01 AM
You add with your size instant 85 euro. Create a zero option
Title: Re: Virtue Mart recalculate price bug
Post by: dmonco on September 13, 2012, 14:53:14 PM
Thank you. You are right.