Blog

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 […]

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 […]

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 […]

Read more