News:

Support the VirtueMart project and become a member

Main Menu

Stop rounding up price

Started by windgate, January 30, 2020, 20:01:11 PM

Previous topic - Next topic

windgate

My product is priced at $199.95, but it is getting rounded up in the cart to $200. I have tried "Round on display" set to on and off with no difference. I have checked currency (decimals set to 2), country, etc. but no luck. The price shows properly on the product page... but in the cart it is $200.
This is a virtual product so shipping is not needed.
The VM files have NOT been hacked and recently updated to 3.6.10. I have gone through every window and every setting I can without coming up with an answer.
Also, I have been using VM from version 1.

Any help you offer would be greatly appreciated.
JPL

Joomla 3.9.15, PHP 7.2,  VM 3.6.10

GJC Web Design

Use the Rappenrundung for Swiss CHF - off ?
all price rounding on -1 ?

vm admin->config->config->pricing tab
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

MSR_Web_Guy

Also check the Shopper Groups, in case you turned on Show Following Prices and set something differently there?

lostmail

#3
Hm.
Strange in VirtueMart 3.6.11 10289:

I can not modify the final price anymore....up till no I inserted the final price - checking "Calculate the Cost price" - and the the system calculated the cost price (w/o tax).
But after update to VirtueMart 3.6.11 10289 i insert the final price i.e. 26.90 and after saving the final price is now 26.91 !!

Is there a change in new version ?

All  my prices in shop are wrong rounded now....

UPDATE:
I activated the point "Round only display" in price configuration and it seems that the prices are now correct like before....

But another thing:
Is it possible to set the "Calculate the Cost price" activated by default as i always insert the Final Price and let the system calculate the cost price.

Joomla 3.x | VirtueMart 4.0.12 107771 | HORME3 PRO 1.9.6 / 2.0
VirtueMart 4.2.4 | Joomla 4.4.1 | PHP 8.1 | Vp_neoteric 1.3

GJC Web Design

over ride

administrator\components\com_virtuemart\views\product\tmpl\product_edit_price.php

change ~ line 174

from
echo '<input type="checkbox" name="mprices[use_desired_price][' . $this->priceCounter . ']" value="1" />'

to

echo '<input type="checkbox" name="mprices[use_desired_price][' . $this->priceCounter . ']" value="1" checked />'
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

lostmail

I found the original file and modified it this way - but I think it will be overwritten with new updates.

Which is the override path for these admin files ?
Joomla 3.x | VirtueMart 4.0.12 107771 | HORME3 PRO 1.9.6 / 2.0
VirtueMart 4.2.4 | Joomla 4.4.1 | PHP 8.1 | Vp_neoteric 1.3

GJC Web Design

you really need to improve your googling skills!

it is over-ride-able  in the same way as any Joomla based tmpl file is..

\administrator\templates\isis\html\com_virtuemart\product\
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

lostmail

Hm - tried this but it did not work - so I thought it was wrong....will try it again ;-)
ThanX
Joomla 3.x | VirtueMart 4.0.12 107771 | HORME3 PRO 1.9.6 / 2.0
VirtueMart 4.2.4 | Joomla 4.4.1 | PHP 8.1 | Vp_neoteric 1.3