Page 1 of 1

Free shipping when more than 5 product will be in cart

Posted: Sat Nov 17, 2012 2:33 am
by kshirod
Hi,
I want that when user will add more than 5 numbers pf product in his shopping cart then he will get free shipping.
So can some one tell me how to to that?

Re: Free shipping when more than 5 product will be in cart

Posted: Sat Nov 17, 2012 3:06 am
by Tcalp
There is a module called 'free shipping plus' which will add this functionality.

http://www.opencart.com/index.php?route ... on_id=2330

Re: Free shipping when more than 5 product will be in cart

Posted: Sat Nov 17, 2012 12:23 pm
by Johnathan
Or, if you only want to give free shipping on certain products, and charge for others, then you could use Product-Based Shipping.

Re: Free shipping when more than 5 product will be in cart

Posted: Sat Nov 17, 2012 12:52 pm
by kshirod
Hi,
I have used this line of code in flat.php file (catalog/model/shipping) .
if ( $this->cart->countProducts() > 5) {
$status = false;
}
This is going fine. So is this the right way to to do?