Post by geoperis » Thu Dec 20, 2012 4:07 pm

Hello everybody,

i have a problem with citylink and free shipping modules.

In my eshop there are 2 shipping ways enabled, citylink and free shipping.

The free shipping is enabled for orders under 0.1 euro (i want to be available for all orders).

The citylink shipping method is defined: 5:0,209:3, because i want orders with weight under 5kg have shipping cost 3 euros.

I want for orders under 5kg to disable free shipping and shows only citylink shipping method.

Can you help me?

Newbie

Posts

Joined
Thu Dec 20, 2012 3:58 pm

Post by grgr » Thu Dec 20, 2012 10:55 pm

edit: ../catalog/model/shipping/free.php

find:

Code: Select all

		$method_data = array();
Above it add:

Code: Select all

		if ($this->cart->getWeight() <= 5) {7
			$status = false;
		}

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK
Who is online

Users browsing this forum: No registered users and 2 guests