Category Archives: 2.3 Series

Choose your own selection project

A guest post from Matt over at www.sweetnessandlight.com – purveyor of chocolate and other goodies. Selecting a bunch of products to create 1 overall product When you need your customers to be able to choose from a variety of products to create one final product to add to their cart, you will find that the… Read More »

Open a different box by default in Admin

Really short post as this is so simple. When you open the osCommerce admin, the “configuration” box is open by default. This is because it is at the top of the boxes list. If you place a different box on the top of the list, that one will be open by default instead. Easy as… Read More »

Sort Shipping Modules by cost

Sorting the shipping modules is simple in osCommerce – just amend the sort order in the admin area. This is fine to do and works well. I was recently approached to come up with an idea to sort the shipping modules based on the cost of shipping. This is much more difficult if the shipping… Read More »

Shipping Module powered by CSV

Approached recently to quote for building a shipping module, powered by a CSV file. The CSV file Contains 4 pieces of information; postcode, shipping_cost, amount at which shipping becomes free, courier name The CSV file can consist of thousands of such entries. Shipping Module (Shop) This reads the CSV and outputs the necessary information; Shipping… Read More »

Category View: Grid or List?

In the ongoing project that I am working on, the client decided that he would like the ability to choose how each category displays; whether it be a “grid” view, or a “list” view… There are a few older forum posts about this, and some sites have some good examples of something very close in… Read More »

System for assigning products to specifications

Currently working on a modification that allows the shop owner to easily add new “specifications” and then assign products. A typical use for this would be in a clothes shop. Sometimes clothes come in men, women, unisex. My new system would give the ability to have these specifications set out like the manufacturers are, and… Read More »

Minimum Items to Checkout

Was contacted recently by someone who wanted the ability to define a minimum number of items in the cart to allow checkout. The answer to this is very simple; in checkout_shipping.php, use $cart->count_contents() and link that to a tep_redirect back to shopping_cart if the number is not big enough; if ($cart->count_contents() < 5) tep_redirect(tep_href_link(FILENAME_SHOPPING_CART)); So,… Read More »

Barclays Pingit Payment Module for osCommerce

Earlier today, Barclays bank launched a new “payments via mobile phone” service called Pingit. You can read about it here and here. And the official Barclays page here. Seems like an ideal way to accept small payments for small businesses and personal use. Might force the likes of Paypal and all those other assorted payment… Read More »

Update all currencies by CSV

osCommerce comes with a built in currencies updater which is operated manually and gets rates from “oanda” and “xe” – both of which are well known currency converter sites. In addition, it is possible to manually update the currency rates one by one. For some sites, it is desirable to update prices 10 times or… Read More »

Must Agree to Terms and Conditions

There are a couple of Terms and Conditions addons floating about, but I decided that none of them were quite suitable for the needs of my latest client. What the client wanted is three-fold; 1. Have a link in the checkout_confirmation page, which, when clicked pops up the Terms and Conditions for the buyer to… Read More »