Post by e-com-dev » Thu Jan 03, 2008 9:54 pm

Hi!   

Has anyone worked on the minimum order value on the cart page.

If the order total is less than Amount £XX.XX,  you should not tbe able to checkout as in case of Stock and should also alert the message about min order value.

I found the module on min order quantity of the product, but nothing on wht i want. :(

Thanks!!

Newbie

Posts

Joined
Thu Jan 03, 2008 1:19 am

Post by jocroft » Fri May 02, 2008 2:30 am

I am interested in this also.

Could someone point me in the right direction please?

I know you think you understood what I said, but what you heard was not what I meant


New member

Posts

Joined
Thu Mar 13, 2008 9:03 pm
Location - England

Post by bruce » Fri May 02, 2008 11:27 am

Modify the validate() function in catalog\controller\checkout_confirm.php and the appropriate language file to add your error message.

Depending on the "total" that you want to use, you will need to add the following to the validate() function also.

Code: Select all

		$calculate =& $this->locator->get('calculate');
//or
		$cart        =& $this->locator->get('cart');


		$totals = $calculate->getTotals();
//or
		$total  = $cart->getTotal();


Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by frame » Sat Jun 07, 2008 10:14 pm

Would somebody mind giving me a little bit more help?

New member

Posts

Joined
Sat Apr 26, 2008 7:24 pm

Post by david.gilbert » Sun Jun 08, 2008 11:34 am

Hi, if you want to PM me your sites FTP details, I'll make the changes for you

-Dave

Professional Website Services - http://www.davidmgilbert.com/


Active Member

Posts

Joined
Sun Jan 06, 2008 5:02 pm
Location - Mount Compass, South Australia

Post by frame » Sun Jun 08, 2008 3:01 pm

Hi Dave,
PM is en route.
thanks

New member

Posts

Joined
Sat Apr 26, 2008 7:24 pm
Who is online

Users browsing this forum: No registered users and 2 guests