Post by PlatinumPlace » Mon May 21, 2012 4:34 am

Hi All,

I have purchased the Extension 'Minimum Order/Maximum Order Limits' from qphoria

It is showing in the Admin, and is Enabled with a £50 minimum order, but I can still pass through and complete an order. I am using Version 1.5.2.1 of Opencart, and the Carbon template.

I was not sure if I needed to do this:

6) EDIT: catalog/view/theme/YOURTHEME/template/checkout/confirm.tpl

FIND:
--------------------------
<div id="payment"><?php echo $payment; ?></div>
--------------------------


AFTER, ADD:
--------------------------
<?php echo (isset($this->session->data['minmaxerror'])) ? $this->session->data['minmaxerror'] : ''; ?>
--------------------------

If I do, what should it look like exactly?

Probably something I have overlooked, and easy to others......

Any ideas?

Website: http://www.ppcardprinters.co.uk

Regards,

Andy

Newbie

Posts

Joined
Mon May 21, 2012 4:19 am

Post by dirtboy » Mon May 21, 2012 5:39 am

are you using the default theme?

“Anyone who stops learning is old, whether at twenty or eighty. Anyone who keeps learning stays young. The greatest thing in life is to keep your mind young.”
- Henry Ford


User avatar
Active Member

Posts

Joined
Wed Mar 07, 2012 3:04 pm

Post by PlatinumPlace » Mon May 21, 2012 5:49 am

Hi there,

If the Theme is the same as the Template, then I am using one called computershop (not Carbon as previously mentioned).

Any help appreciated.

Regards.

Andy

Newbie

Posts

Joined
Mon May 21, 2012 4:19 am

Post by dirtboy » Mon May 21, 2012 6:00 am

ok, in your theme/template folder you need to find this folder template > checkout > confirm.tpl

in this file you need to find this line of code

Code: Select all

<div id="payment"><?php echo $payment; ?></div>
and make it look like this code

Code: Select all

<div id="payment"><?php echo $payment; ?></div>
<?php echo (isset($this->session->data['minmaxerror'])) ? $this->session->data['minmaxerror'] : ''; ?> 
then save it and upload to your server and this should take care of the problem.

“Anyone who stops learning is old, whether at twenty or eighty. Anyone who keeps learning stays young. The greatest thing in life is to keep your mind young.”
- Henry Ford


User avatar
Active Member

Posts

Joined
Wed Mar 07, 2012 3:04 pm

Post by Qphoria » Tue May 22, 2012 11:30 pm

The version you have seems old. There are no longer changes to the confirm.tpl file for 1.5.x versions and it is purely vQmod based.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by PlatinumPlace » Wed May 23, 2012 5:04 am

Hello Qphoria,

I actually purchased this from you: http://www.opencart.com/index.php?route ... _id=163095

Did I purchase an old file here?

I am interested in purchasing your PayPal Express Checkout.

Regards,

Andy

Newbie

Posts

Joined
Mon May 21, 2012 4:19 am

Post by Diffice » Mon Jun 17, 2013 5:53 am

Can i limit the total number of product in the cart?
I want that every custmer buys max 1 product for every checkout (for every payment).

No 1 bike, 1 car, 1 moto,
ONLY 1 bike OR 1 car OR 1 moto

User avatar
Active Member

Posts

Joined
Thu Aug 16, 2012 7:59 pm
Who is online

Users browsing this forum: No registered users and 23 guests