VAT per province/state, not per country

Author Message

Saad Tazi

Tuesday 01 June 2010 10:53:20 am

Hi,

I have to setup an e-commerce website for customers in the US and Canada, so I need to setup the VAT rules to calculate VAT based on the province/state and country, not just on country.

In Canada, taxe rates are different depending on the province.

Is there a way in eZ Publish to setup a VAT rule not based on country AND state/province, not just on country?

Sorry if it's a beginner question, but I did some research to figure out how to achieve what I want, I found people asking the same question, but I didn't find an answer.

Thanks in advance,

Saad

Bertrand Dunogier

Tuesday 01 June 2010 3:10:04 pm

Hum, there indeed is a functional lack here.

Could you report that as an enhancement request in the public issue tracker ? If you have a patch suggestion for it, they are welcome as well ;)

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:49:37
Script start
Timing: Jan 18 2025 02:49:37
Module start 'layout'
Timing: Jan 18 2025 02:49:37
Module start 'content'
Timing: Jan 18 2025 02:49:38
Module end 'content'
Timing: Jan 18 2025 02:49:38
Script end

Main resources:

Total runtime0.7717 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.1484152.6406
Module start 'layout' 0.00560.0031 741.789139.4766
Module start 'content' 0.00870.7618 781.2656525.9766
Module end 'content' 0.77040.0012 1,307.24228.1406
Script end 0.7717  1,315.3828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4257160.0002
Check MTime0.00130.1684160.0001
Mysql Total
Database connection0.00070.096510.0007
Mysqli_queries0.728694.4182550.0132
Looping result0.00050.0589530.0000
Template Total0.742396.220.3711
Template load0.00190.249120.0010
Template processing0.740495.941220.3702
Template load and register function0.00010.013710.0001
states
state_id_array0.00100.127010.0010
state_identifier_array0.00110.144020.0006
Override
Cache load0.00160.2029160.0001
Sytem overhead
Fetch class attribute can translate value0.00040.052920.0002
Fetch class attribute name0.00090.122330.0003
XML
Image XML parsing0.00060.077920.0003
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00270.3497160.0002
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs