| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Tax exempt feature for selected memberships v3.4.x | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
tax exempt mod
this works for 322 also
__________________
Thanks, Alex. Too many version to list. I have some on 3.51 and some on the latest version. |
|||||||
#12
|
|||||||||
|
|||||||||
Quote:
Dmitry, Would this work? Code:
I want to make PST ZERO if membership is Reseller. |
|||||||||
#13
|
|||||||||
|
|||||||||
It does work. Brilliantly in fact.
|
|||||||||
#14
|
|||||||
|
|||||||
So what happened?
Quote:
I use version 4.0.8 but don't see this option anywhere. I need to implement tax exempt status for multiple account types such as Wholesale 1, Wholesale 2, etc. I've searched through the forum and found many questions related to this, but no solutions. Anyone have any ideas on how to do this?
__________________
Version 4.0.8 Live |
|||||||
#15
|
|||||||
|
|||||||
I didn't even know this even existed. I am on 4.012, and did not find this is available. It'll be great if x-cart can add it in the next upgrade as the 4.012 is stable now so they can enhance it.
Thanks for looking and please reply if you also want this feature so x-cart developers notice it. Thanks!
__________________
x-cart 4.1.8 Gold Linux |
|||||||
#16
|
|||||||
|
|||||||
I could really use this mod too. Anybody have a patch for 4.0.12?
__________________
X-Cart 4.4.0 PHP 5.2.5 |
|||||||
#17
|
|||||||
|
|||||||
Would be nice to see it in the core, especially if someone paid to have it put there. For now, this is our solution in the 4.0.x branch:
Somewhere around line 1500 of include/func.php, at the top of function func_calculate_taxes(), find this code: Code:
And so forth.... Now, after it sets the shipping taxes to zero and BEFORE the foreach loop starts, add this: Code:
Um, we have a custom-built solution for assigning membership levels as "wholesale levels", which is what that is_wholesale_membership() function is, but you can replace that line with the following if you just have one membership level you want to hard-code as the tax-exempt wholesale membership: Code:
Change "Wholesale" to whatever your membership level is called. Cheers, Paul
__________________
-- Version 4.0.13 |
|||||||
#18
|
|||||||
|
|||||||
this will show "PST Exempt %0" for memberships that are exempt.
I have it setup so "Tax Exempt" doesn't pay GST or PST, and Associates and PST Exempt don't pay the PST. in func.php -> func_calculate_taxes() Look for this: Code:
Add this right below: Code:
__________________
X-Cart 4.0.13 Gold |
|||||||
|
|||
X-Cart forums © 2001-2020
|