Stuart Lambon


Creating a ‘credit account’ payment method on WooCommerce

Recently, whilst building an e-commerce website for a client an interesting feature arose which I’d yet had to build on any other WooCommerce website: to allow certain users to pay via credit ‘on account’. It’s worth noting that the process of applying for a credit account would be handled manually due to credit checks needing to be fulfilled etc. This is how I built this feature into a custom theme using a relatively simple process: Step 1—Add a new user role It’s important to make sure that this extra payment method is locked out to normal customers because it essentially allows […]

Read More

Advanced customisations to the WordPress WYSIWYG editor

I’ve never really been a fan of content management systems that offer an in-context content editor unless they’re done well on a minimal scale; websites such as Medium do this very well. For most websites with more content and/or with e-commerce capabilities an in-context editor becomes hard to use because they user may get distracted by other parts of the site, lose their place or be bombarded by edit buttons everywhere. I have always preferred content be added the way that WordPress does it; via a back-end interface that focuses the user on what they are writing—in fact in version 4.1 they also added a […]

Read More

Dashes, dumb quotes and double spacing

As much as I didn’t want this blog to become a place where I would lament over things, I admit defeat already as there are three things that I consistently notice in design (or more specifically, typesetting) that bug me more than probably anything else. Of course there are the really obvious things such as: design clichés, the stretched typefaces and plenty of examples of bad typography everywhere. However, there are three things that would go into my ‘Room 101’ of type without a hesitation of thought. I really don’t wish to sound like a pedant but it’s already a little late for that—especially […]

Read More

Setting a store-wide percentage for PayPal Adaptive Payments on WooCommerce

The WooCommerce PayPal Adaptive Payments plugin is a paid-for WooCommerce extension that allows you to split your PayPal payments between one or more receivers; it supports chained, parallel and simple payments. The extension by default allows you to set these fees on a product-by-product basis but this is a rather laborious and ineffective way of doing things if your store has many products and your fee is always to be the same. Luckily, by using the woocommerce_paypal_ap_payment_args filter you can dynamically assign receivers. The code provided on the documentation page allows you to set up multiple receivers across all products and this solves the […]

Read More

Change the WooCommerce ‘Return to shop’ link

Something I historically struggled to alter with WooCommerce was the ‘Return to shop’ link the customer was presented with upon reaching an empty cart page. The default link sends the customer back to the ‘Shop’ page; this was usually an issue for me as a lot of the websites I worked on were full e-commerce shops and would prefer the customer to be pointed towards perhaps the homepage or a product category page. Perhaps in older versions of WooCommerce it would have sufficed to override a template file in your theme, but I (and probably everyone) should avoid this if possible to make updates […]

Read More

Create Record Decode Exhibition

Create Record Decode was the Graphic Design Masters Degree exhibition put on by myself, Brendon Bostock and Balazs Hajnal. We all completed our MA’s at the University of Portsmouth in September 2012 and the exhibition was in November. The night was a success with a great turn out; it’s rather delayed but here are some photos from the night; thank you to all who came along! The venue was the Gold Room at Room 237. I also created the website for the event; view here.

Read More