Setting a minimum order value in Magento

A client that largely deals B2B, selling stationery and sweets wholesale to smaller shops recently asked for a minimum order value to be added to their Magento store. Here are the steps to setting up a min basket value.

In admin select System-> Configuration,

then select Sales from the left handside menu,

choose the Minimum Order Amount option.

Magento admin minimum order options

Select Yes from the enable dropdown. Enter a minimum order amount, message (this appears in the basket summary as shown below) and error message.

This is what it looks like on the front end.

Minimum order warning message

Information about the new minimum order restrictions are then outlined on the customer services cms page.

Tagged with:  

Magento and Barclaycard ePDQ payments

Adding UK payment gateways to Magento often involves Magento Connect extentions, with only PayPal and more US centric payment processors working more or less out of the box.

To enable Barclaycard payments I used the Barclaycard ePDQ CPI payment module, which needs a few tweaks to make in compatible with newer Magento versions (1.5.0+).

Unable to connect to Barclaycard ePDQ. Please try again.

Two code changes are needed to pass the total checkout amount from Magento to Barclaycard, in the file;
/app/code/community/Barclaycard/Epdq/Model/Cpi.php.

Not a valid allowed URL

Finally the url paths to Barclaycard that are entered into the ePDQ control panel need to match up. This isn’t as easy as it sounds as the url examples provided by the module are slightly wrong and the error logs are on Barclaycard’s side.

The module actually adds a ‘/’ to the urls, so the correct links are;

  • Allowed URL : {{base_url}}/epdq/cpi/redirect/
  • POST URL : {{base_url}}/epdq/cpi/postUrl/

I hope that saves you a bit of head scratching.

Tagged with:  

Reviews 

Used our services?

Let others know about your experience and help spread the word about Essex's best ecommerce design company.

Connect with us

 

Standard website features

Google business map

Business map

We'll make you a scrollable Google map on your contact page to help new customers find you.

Online contact form

Contact form

An online contact form connects you with your customers even out of office hours.

Email accounts

Get professional email accounts @yourdomain.

Site Search

Site search

Help your site visitors navigate your site with ease with a site search.