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

Finalizing the Website Upgrade

I’m very excited to announce that website reskinning and upgrading is almost finished! Many features were added, the code has been rewritten by scratch and every .php and .css file is light as feathers! I included an Ajax JavaScript snippet in the blog page for lazy loading on scroll and I’m very grateful to the author that helped me accomplish that. Finally, there are still some minor issues to edit and after that I’ll start tweaking the media queries and […]