First off im pretty new to this CMS so im still getting the hang of it.
First question: when i go to checkout it says "You do not have any order corresponding to that ID, so you can't checkout this order." I was just wondering what caused this. Im thinking its from the order not being paid since im using the cheque method.
2nd question: Since i live in the US the flat tax idea doesnt really work, so is there a way to say if you live in a certain state then tax is added. If you dont then no tax.
I’m working on creating the same result. Using a tax modifier for a US client which applies a tax rate depending on which US State the order is being sent to (Shipping address).
It’s relatively simple in the way that if the order is going to Colorado then there is a 3.9% tax rate applied to the order. Any other State results in the order being tax free.
I have changed the State field on checkout into a dropdown, and as suggested above created a new tax modifier (attached - extension changed from php to htm - allowed file type) based on the normal TaxModifier.php replacing country for state where I can. Where I’ve run into trouble is the LiveCountry / LiveState function around line 85 as obviously the same functions to retrieve the country do not exist for the State.
Any clues on the best way to achieve the desired result?
Shop 0.8.5 has overhauled the modifiers system slightly.
This shipping modifier actually adds a form to the cart table, with the ability to set a region: https://github.com/burnbright/silverstripe-shop-shipping-fastwaynz/blob/master/code/FastwayNZShippingModifier.php
I'm still a little skeptical about the shipping / tax / modifiers system. I'll definitely be making further changes in future.