News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Rounded Prices. (SOLVED)

Started by MyDesigner, August 15, 2016, 17:32:22 PM

Previous topic - Next topic

MyDesigner

Hello, it's possible to round total prices in cart ?
For example, if in cart total price is 3,78 Eur to convert it in 3.80 Eur or if total price is 3,74 Eur to convert it in 3,70 Eur and total round inserted and writed in cart, above and under total cart amount.
Thanks.

I have Joomla 3.6 and VirtueMart 3.0.17 .

jenkinhill

Closest would be to turn on Use the Rappenrundung for Swiss CHF   
Bit more here:  http://forum.virtuemart.net/index.php?topic=132230
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

MyDesigner

Hello, it's Eur not CHF. It's same configuration ?

GJC Web Design

If u read my post on this you will see that there is a problem anyway as it needs a hack to actually round the totals not just the display

http://forum.virtuemart.net/index.php?topic=132230.msg457410#msg457410

in your case just add the euro id

if($this->vendorCurrency_numeric==978 and VmConfig::get('rappenrundung',FALSE)=="1"){
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

MyDesigner