Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 06-18-2015 02:05:01

btwebmedia
Member
Registered: 08-25-2010
Posts: 150

No Tax for Wholesalers

Hello:

What steps need to be taken to disable tax for wholesale users? Thanks.

Offline

 

#2 06-18-2015 06:26:17

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19871
Website

Re: No Tax for Wholesalers

This one is quick and dirty: You can mod the {private}/apps/ecom/ECOM_Checkout/ECOM_Checkout.php file to do this.  Locate the function cocalctaxes() and right above the comment:

Code:

// +--
// | Get the tax country system and home EU VAT country.
// +--

Add:

Code:

if ($this->globals('core_user.usergroup') == 'wholesale') {return 1;}

Nick Hendler

Offline

 

#3 06-18-2015 13:19:41

btwebmedia
Member
Registered: 08-25-2010
Posts: 150

Re: No Tax for Wholesalers

Yep worked like a charm. Thanks.

Offline

 

Board footer