View more context

 

r3v3rb

@Mo got the extra parameters working by hooking into updateConfirmationForm

👍 (1)
r3v3rb

@wmk any ideas on the tax calculation for doing round(unit price * tax) * quantity per line item and then summing that for the checkout

r3v3rb

rather than the current solution which does (3.33*12) * 1.2 which results in 47.95

r3v3rb

reason being is the site needs to allow for some items to be taxable and others not

Mo

@r3v3rb Maybe you can use OrderItem::updateCalculateTotal() in conjunction with a custom tax rate?

Mo

And I guess add a custom modifier to try and make sense of it all?

Mo

I don't use SilverShop though, so I dunno, I was just scanning the code...

r3v3rb

yeh, its basically a nightmare - because then add staff discounts and shipping and the whole thing becomes a fudge, and they are already complaining that the site is slow due to the current VAT calculations