Author Topic: Tax Exempt Shopper Group  (Read 4501 times)

johnstep

  • Beginner
  • *
  • Posts: 12
Tax Exempt Shopper Group
« on: October 22, 2010, 01:31:57 am »
I need one shopper group (a reseller group) to receive tax exempt status. I manually approve shoppers for this group and I don't want to set a meaningless discount that confuses shoppers during checkout. I keep seeing this meaningless discount answer posted and am asking for an actual solution.

Is there a hack or a module to add the functionality?

Any help would be greatly appreciated...  Smiley

Thanks!

sshhll

  • Jr. Member
  • **
  • Posts: 50
Re: Tax Exempt Shopper Group
« Reply #1 on: November 02, 2010, 19:56:09 pm »
Hello,
      would you able to get the function?
Let me know if you still interested, i did some hack and mod in the VM. I was able to get the function.

PM i'll help you how i did it.


studioblue

  • Beginner
  • *
  • Posts: 26
Re: Tax Exempt Shopper Group
« Reply #2 on: December 27, 2012, 22:43:27 pm »
Hello,
      would you able to get the function?
Let me know if you still interested, i did some hack and mod in the VM. I was able to get the function.

PM i'll help you how i did it.
Could you help me with this?  I am looking to setup shopper groups that have specific products that are charged tax and then others in the group that are not.  Is there a way to do this or could you post your solution for the above so I can try to get this done.  Thank you.

ryandiaz

  • Beginner
  • *
  • Posts: 18
  • VirtueMart Version: 1.1.6 Stable
Re: Tax Exempt Shopper Group
« Reply #3 on: February 11, 2014, 19:13:23 pm »
Make a shopper group tax exempt:

Pull up this file:   /administrator/components/com_virtuemart/classes/ps_checkout.php
Locate the function:   calc_order_tax
find this line:
if (empty($rate)) {
change this line to:
if (empty($rate) || ($auth['shopper_group_id'] == 7) ) {
CHANGE THE ID # TO YOUR GROUP ID YOU WANT TO EXEMPT FROM TAX, get the ID # from the MYSQL database under jos_vm_shopper_group
Joomla 1.5.22 | Virtuemart 1.1.6 Stable | PHP 5.3.13