Trying to spin up a new thread to track this topic.
I think that sales tax would be nice to have in the core, in a
pluggable way similar to shipping & payment handlers.
There are many different ways that tax might need to be calculated,
but if cartridge could provide some well defined hooks others could
connect up as appropriate.
Stephen will correct me if I am wrong, but tax in Cartridge follows
the Australian model of "GST inclusive" and works backwards from this
endpoint to advise the ex GST price.
Even here that has it's problems because selling to overseas customers
should not incur 10% GST. So having tax able to be applied at
checkout, based on where the purchaser lives would be handy.
This same hook could be used by yanks who need to charge differing
amounts of sales tax when shipping to different states, etc.
If we had something like this in core you'd be well placed to leverage
it in your external application.
Regards,
Gary
On 27/07/2012, at 1:22 AM, Ken Bolton <kenb...@gmail.com> wrote:
> This is just for variations, right? We can add model fields to
> shop.models.Product using the EXTRA_MODEL_FIELDS. I ask because I plan
> to put together a sales tax application and want to add e.g.
> Product.taxable as a boolean field. I am a few days out from the
> actual implementation as I upgrade from Mezzanine pre-1.0 to 1.1.4 or
> 1.2. Sorry to hijack the thread, but its on my mind.
>
> ken
>
In this case, we really do want subclasses because of the south side effects of EXTRA_MODEL_FIELDS, plus they then show up for every product regardless of what it is. So we don't want the toaster seller to be able to sell PAL/NTSC toasters or the DVD seller to inadvertently sell his DVD in a 2-slice or 4-slice model. There are tradeoffs.
The comma separated list might be an option. I vaguely remember seeing a model app that does that somewhere and treats them like a many-to-many field in the admin. http://djangosnippets.org/snippets/2753/?
If the tax_total / tax_type mimicked shipping_total / shipping_type in that it didn't display when there are no amounts, this would effectively be the setting of whether or not to enable taxes. A pull request for this functionality will be sent out shortly...
--
--
You received this message because you are subscribed to the Google Groups "Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.