Forums / General Questions / Shipping Avalible Based on Order Amount?

Shipping Avalible Based on Order Amount?

Views: 405

Results 1 to 3 of 3
28 Aug 2013, 9:31 PM
#1
itskater avatar

itskater

New Zenner

Join Date:
Aug 2013
Location:
California
Posts:
5
Plugin Contributions:
0

Shipping Avalible Based on Order Amount?

Hello,
I am trying to set up a offer so when someone buys more than 3 boxes of the product they can then choose Fast Shipping. But I want them to only get that offer if they order more than 3 boxes, lower is just basic shipping. Any help is much appreciated.

Thank you.

29 Aug 2013, 12:21 PM
#2
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,297
Plugin Contributions:
39

Re: Shipping Avalible Based on Order Amount?

That would require a custom module, but it's certainly possible

PRO-Webs, Inc. since 2003 https://pro-webs.net/

29 Aug 2013, 8:10 PM
#3
responsivezc avatar

responsivezc

New Zenner

Join Date:
Aug 2013
Posts:
85
Plugin Contributions:
8

Re: Shipping Avalible Based on Order Amount?

Hi,

All the shipping modules are on the following folder
/includes/modules/shipping/

Each file is a shipping module and contains a PHP class
Every class has a function/method with the same name as the class which is the constructor.

The constructor is executed first, before the other methods (functions inside the class)

In the constructor function you must disable the shipping module when your customer is
buying 3 boxes or less:

if ($number_of_boxes <= 3) {
  $this->enabled = false;
}