VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: Genius WebDesign on August 28, 2012, 23:41:06 PM

Title: Creating rounding rules to product sales price that apply globally...
Post by: Genius WebDesign on August 28, 2012, 23:41:06 PM
Hi,

I want to apply some rounding rules to the final product sales price (product price inkl. all taxes and calculation rules), and they need to apply globally, meaning that the rounding rule must apply to the final product price in the following places; frontend (category view and product details view), shopping cart, order confirmations and invoices.

In product details view I know that this is the code that outputs the value of the final product sales price:
$this->product->prices['salesPrice']

My question is, where (in which file) do I apply my rounding rules?