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

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.

VirtueMart VirtueMart 4.2.16 11030 | Joomla 4.x | PHP 8.3 | Vp_neoteric 1.6

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 ?
VirtueMart VirtueMart 4.2.16 11030 | Joomla 4.x | PHP 8.3 | Vp_neoteric 1.6

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
VirtueMart VirtueMart 4.2.16 11030 | Joomla 4.x | PHP 8.3 | Vp_neoteric 1.6