Post by pwood » Tue Nov 25, 2014 3:22 pm

Can the shipping method be differentiate based on customer group? For customer group A the shipping method will be "free shipping", customer group B is "weight based" and so on.

thank you

Active Member

Posts

Joined
Tue May 07, 2013 7:58 pm


Post by madimar » Tue Nov 25, 2014 4:20 pm

there are several very good commercial extensions in the market allowing it. Jonathan ones are a warranty IMHO.
M

-----------------------------------------------------------------------
My last mods: Partita IVA e CF | Pro EU VAT Number | Sales Agents | Pricelist Pro
-----------------------------------------------------------------------


User avatar
Active Member

Posts

Joined
Thu Sep 24, 2009 6:27 pm


Post by Johnathan » Wed Nov 26, 2014 1:32 am

Thanks, Madimar.

pwood, if you want weight-based shipping, then Weight & Volume-Based Shipping would work for you. If you need combinations of criteria (like total + weight, or volume + postcode) then take a look at Formula-Based Shipping.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by gtoc » Wed Nov 26, 2014 3:18 pm

If you want to try and change the code for your needs try -

http://forum.opencart.com/viewtopic.php?f=20&t=131260

Works for me and use it on other shipping methods also

New member

Posts

Joined
Tue Apr 23, 2013 12:11 pm

Post by pwood » Wed Nov 26, 2014 4:55 pm

I tried the gtoc's suggestion and worked perfectly. Thanks all.

Active Member

Posts

Joined
Tue May 07, 2013 7:58 pm

Post by mash0028 » Tue Nov 03, 2015 3:45 pm

Hello

For V2.0

In model file

catalog/model/shipping/item.php


add before

Code: Select all

            if ($status) {

add

Code: Select all

      if ($this->customer->getGroupId() == '1') {
         $status = false;
         } 
If customer group you want to hide is the Default customer group.

New member

Posts

Joined
Fri Jul 24, 2015 3:36 pm
Who is online

Users browsing this forum: No registered users and 86 guests