Post by ctellier » Wed Nov 04, 2009 11:43 am

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.

User avatar
New member

Posts

Joined
Sun Oct 18, 2009 9:36 am
Location - Wisconsin

Post by Qphoria » Wed Nov 04, 2009 11:51 am

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;
}

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by ctellier » Wed Nov 04, 2009 12:25 pm

Thanks Q it works. Now how do I have it auto select the free shipping and remove the others?

User avatar
New member

Posts

Joined
Sun Oct 18, 2009 9:36 am
Location - Wisconsin

Post by ctellier » Thu Nov 05, 2009 5:40 am

Bump
ctellier wrote:Thanks Q it works. Now how do I have it auto select the free shipping and remove the others?

User avatar
New member

Posts

Joined
Sun Oct 18, 2009 9:36 am
Location - Wisconsin

Post by Qphoria » Thu Nov 05, 2009 5:56 am


Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by ctellier » Thu Nov 05, 2009 10:21 am

Thanks again Q

User avatar
New member

Posts

Joined
Sun Oct 18, 2009 9:36 am
Location - Wisconsin
Who is online

Users browsing this forum: No registered users and 124 guests