Taxes reference from Sales taxes in Canada.
Note :
1. OpenCart won't calculate cumulative tax (such for Quebec and PEI). I use the effective tax rate.
2. This article for OpenCart Tax setting SAMPLE only.
0. Backup website and database.
1. Create [Geo Zones]
Canada GST Zone --> Canada / Alberta, Manitoba, Northwest Territories, Nunavut, Prince Edward Island, Quebec, Saskatchewan, Yukon Territory
BC HST Zone --> Canada / British Columbia
MB PST Zone --> Canada / Manitoba
NB HST Zone --> Canada / New Brunswick
NL HST Zone --> Canada / Newfoundland and Labrador
NS HST Zone --> Canada / Nova Scotia
ON HST Zone --> Canada / Ontario
PEI PST Zone --> Canada / Prince Edward Island
QC QST Zone --> Canada / Quebec
SK PST Zone --> Canada / Saskatchewan
2. Create [Tax Rates]
GST (5%) --> Tax Rate: 5, Type: Percentage, Customer Group: check all, Geo Zone: Canada GST Zone
HST (12%) --> Tax Rate: 12, Type: Percentage, Customer Group: check all, Geo Zone: BC HST Zone
PST (7%) --> Tax Rate: 7, Type: Percentage, Customer Group: check all, Geo Zone: MB PST Zone
HST (13%) --> Tax Rate: 13, Type: Percentage, Customer Group: check all, Geo Zone: NB HST Zone
HST (13%) --> Tax Rate: 13, Type: Percentage, Customer Group: check all, Geo Zone: NL HST Zone
HST (15%) --> Tax Rate: 15, Type: Percentage, Customer Group: check all, Geo Zone: NS HST Zone
HST (13%) --> Tax Rate: 13, Type: Percentage, Customer Group: check all, Geo Zone: ON HST Zone
PST (10%) --> Tax Rate: 10.5, Type: Percentage, Customer Group: check all, Geo Zone: PEI PST Zone
QST (9.5%) --> Tax Rate: 9.975, Type: Percentage, Customer Group: check all, Geo Zone: QC QST Zone
PST (5%) --> Tax Rate: 5, Type: Percentage, Customer Group: check all, Geo Zone: SK PST Zone
3. Create [Tax Class]
Canadian Tax Class --> Add all 10 Tax Rates. Based On select [Shipping Address].
4. Select [Canadian Tax Class] on products' [Tax Class].
5. Make an order and check the [Total].
Sep 12, 2012
Use SSL in OpenCart
Before use SSL, you have to make sure you already have SSL for your domain.
1. Open [config.php] and modify following:
define('HTTPS_SERVER', 'http://www.yourdomain.com/');
==> define('HTTPS_SERVER', 'https:// www.yourdomain.com /');
define('HTTPS_IMAGE', 'http://www.yourdomain.com/image/');
==> define('HTTPS_IMAGE', 'https://www.yourdomain.com/image/');
2. Open [config.php] under admin folder and modify following:
define('HTTPS_SERVER', 'http://www.yourdomain.com/admin/');
==> define('HTTPS_SERVER', 'https://www.yourdomain.com/admin/');
define('HTTPS_CATALOG', 'http://www.yourdomain.com/');
==> define('HTTPS_CATALOG', 'https://www.yourdomain.com/');
define('HTTPS_IMAGE', 'http://www.yourdomain.com/image/');
==> define('HTTPS_IMAGE', 'https://www.yourdomain.com/image/');
3. Select Use SSL at Administration
Login admin --> [System] --> [Settings] --> [Edit] --> [Server] --> [Use SSL] select [Yes] --> [Save]
1. Open [config.php] and modify following:
define('HTTPS_SERVER', 'http://www.yourdomain.com/');
==> define('HTTPS_SERVER', 'https:// www.yourdomain.com /');
define('HTTPS_IMAGE', 'http://www.yourdomain.com/image/');
==> define('HTTPS_IMAGE', 'https://www.yourdomain.com/image/');
2. Open [config.php] under admin folder and modify following:
define('HTTPS_SERVER', 'http://www.yourdomain.com/admin/');
==> define('HTTPS_SERVER', 'https://www.yourdomain.com/admin/');
define('HTTPS_CATALOG', 'http://www.yourdomain.com/');
==> define('HTTPS_CATALOG', 'https://www.yourdomain.com/');
define('HTTPS_IMAGE', 'http://www.yourdomain.com/image/');
==> define('HTTPS_IMAGE', 'https://www.yourdomain.com/image/');
3. Select Use SSL at Administration
Login admin --> [System] --> [Settings] --> [Edit] --> [Server] --> [Use SSL] select [Yes] --> [Save]
Subscribe to:
Comments (Atom)