WC Shipping Cost based on Zone and Weight

Many times, e-shop owners need a flexible way to present WooCommerce shipping costs to their users depending on the weight or even the shipping zone. Even though there are many free and premium plugins out there that do an “okay” job, it is far more efficient to use plain WooCommerce’s features along with some php. Scene Let’s make a scenario where we have 3 possible shipping zones: Hometown Ground Areas Island Destinations With 2 possible pricing tiers for each zone: […]

Edit ACF Field from Dashboard

Advanced Custom Fields is a versatile and powerful plugin that – when used right – can fulfill each and every need of a customer. Recently, I had to restrict the payment methods of WooCommerce for specific zipcodes. I could easily use jQuery and hide/show the requested zipcodes but what if the customer wanted to do that himself? ACF comes to the rescue! Create a private wordpress page. Then, create your custom field and assign the display of the field to […]

WC Variable Product’s Stock Status in Backend

Lately, I was modifying a WordPress website for a client and I had to find a way to display the stock status of every variation of a variable product in WooCommerce. It was the first time I messed up with WooCommerce’s actions and filters. Here is the solution, without using a plugin. All code goes in functions.php file. Filter to remove/add columns in products page Action to actually display our variable stock status Styling the column with CSS (through PHP) […]

Game Development, cause why not?

Recently, I have been digging more and more JavaScript books and videos and there is a reason. Initially, I wanted to create a kind-of simple HTML5 role-playing game without the use of Canvas. That means that I had to create an entire JavaScript game framework from scratch which is why I started reading jQuery Game Development Essentials in the first place. Know your limits After having a rough time following jQuery Game Development Essentials, mainly due to my not-so-good knowledge […]

Load More