VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: vieke on October 15, 2014, 16:08:36 PM

Title: Update price based on amount
Post by: vieke on October 15, 2014, 16:08:36 PM
Dear community;

I know this is not a default feature in VM2, i've been searching the forums and google for a solution but can't find any, i also tried coding this myself, but i'm not a coder...

Basically i just want the price on the product details page to update with the amount the user is picking.

So if the base price of the product is 10$ and the user clicks the plus sign for 2 units, the price updates to 20$.

I tried multiplying the php variable, but this only works on page load, i know i should find the solution in Javascript but like i said, i can't code.

Please help me out.
Title: Re: Update price based on amount
Post by: jenkinhill on October 15, 2014, 16:41:50 PM
Of course the price does not change, as it is the unit price - ie the price of each product. , which is normal shop practice. If you want a running total on that page then you will have to code it or commission a developer to do it for you.