Blog

Add vendor profile image to WooCommerce Product Vendors

September 25, 2015 . by Aaron B . 9 minute read . in Code Tips

For a recent client project I was tasked with adding a ‘profile picture upload’ function to the WooCommerce Product Vendors plugin. A simple task. The first thing I thought of was just to add an image upload the user profile page in the WordPress dashboard, which would provide the base for the rest of the […]

Read post

How to get WooCommerce price in decimals superscript, or subscript.

August 1, 2015 . by Aaron B . 1 minute read . in Code Tips

This snippet will help you strip down the price markup from WooCommerce. On a recent project I used this to add <sup></sup> to the last two decimals for the shopping basket in the header. However you could use this for a number of things. // Get the total of the cart $total = $woocommerce->cart->get_cart_total(); // […]

Read post

Our Guide to WordPress Child Themes

December 17, 2014 . by Aaron B . 4 minute read . in Code Tips

For the last few weeks I seem to have spent a lot of time fixing people’s ‘self-build’ WordPress websites  and sorting out problems created by other ‘developers’.  “Fixing what, Aaron?” I hear you cry. Well all sorts of things but the main issue is that clients can’t update the theme because something in the theme […]

Read post

WooCommerce get product regular and sale price in custom loop

November 13, 2014 . by Aaron B . 2 minute read . in Code Tips

Recently I was working on a project for a client of mine, I had built them a custom WordPress / WooCommerce website.  The standard related products function just wasn’t working the way they needed it to, they wanted it to only show  in-stock products showing  price, image, title and if the item was on sale. […]

Read post

Add a barcode meta box to WooCommerce

September 5, 2014 . by Aaron B . 3 minute read . in Code Tips

You can now download a plugin from WordPress.org to add a barcode and ISBN to your WooCommerce website, This post had a lot of interest so I decided to build the plugin. On a recent project, the client asked me if I could add a barcode to products on WooCommerce. Now, one way to achieve […]

Read post

Loading more posts...