How Show total Product Price times Selected Quantity on VM Product details Page

Started by davidjosue, September 20, 2015, 02:25:00 AM

Previous topic - Next topic

davidjosue

Hello,

My purposes is to show in VM 3 the total price of a purchase of a particular product based on the quantity ordered.

Example if you wish to buy 3 mugs for $50, then a "Total: $150"  will be shown. If you wish to changed it to something like quantity of 5, then it will display "Total: $250", and so on..

Please look at the image below


I am not talking about one product price per quantity range features. I want to have the total price dynamically change according to the quantity in the product page (not the in the cart).

Thanks for help

GJC Web Design

there would be various ways .. all require coding I think

vmprices.js is fired when the quan. is changed..  that's your starting point
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

davidjosue

Thanks you for the clue. But there is'nt any hack...or plugin ?
This feature seems to be logical, it's surprising that no one has previously thought.

GJC Web Design

look at how the cart module is updated.. perhaps use that code filtered by the current product id
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

lindapowers

I think a price display with this option would be nice, no way to show it currently other than at minicart or checkout. Customer only see the price for quantity one at product details and category view.