Page 1 of 1

Free shipping if order quantity = ..

Posted: Wed Nov 04, 2009 11:43 am
by ctellier
Hi I was wondering if someone could help me set this up. I need free shipping if a customer's order = a certain number of products.

Like if a customer orders 10 or more items then the free shipping will be available.

I cant do it with a certain $ amount because the different customer groups have different prices.

O.C 1.3.2

thanks.

Re: Free shipping if order quantity = ..

Posted: Wed Nov 04, 2009 11:51 am
by Qphoria
1. EDIT: catalog/model/shipping/free.php

2. FIND:

Code: Select all

if ($this->cart->getSubTotal() < $this->config->get('free_total')) {
	$status = FALSE;
}
3. AFTER, ADD:

Code: Select all

if ($this->cart->countProducts() < 5) {
	$status = FALSE;
}

Re: Free shipping if order quantity = ..

Posted: Wed Nov 04, 2009 12:25 pm
by ctellier
Thanks Q it works. Now how do I have it auto select the free shipping and remove the others?

Re: Free shipping if order quantity = ..

Posted: Thu Nov 05, 2009 5:40 am
by ctellier
Bump
ctellier wrote:Thanks Q it works. Now how do I have it auto select the free shipping and remove the others?

Re: Free shipping if order quantity = ..

Posted: Thu Nov 05, 2009 5:56 am
by Qphoria

Re: Free shipping if order quantity = ..

Posted: Thu Nov 05, 2009 10:21 am
by ctellier
Thanks again Q