It took me ages to find a way to import ALL California tax rates into WooCommerce. I started by hand, and after a while I said to myself “California is crazy! I wouldn’t want to be an accountant there!”.
As usual, I looked for existing free and premium plugins, but I decided to do it my way. this tutorial gives you a ready-made CSV with all California US tax rates (as of 9 August 2014). Yes, it’s out of date, but you can download it, see how it is built, revise it with the correct rates, and follow the tutorial. Continue reading WooCommerce: Import California Tax Rates (.csv)
A client asked me to add a “Free Shipping” notice under each WooCommerce product on the Shop Page. This can increase your click-through rate and hence your sales conversion rate. Here are a couple of PHP and CSS snippets so that you can implement this helpful edit. Continue reading WooCommerce: Add Text Under Each Product @ Shop Page
JetPack sharing (and other social media sharing plugins) allow you to add social media sharing to your woocommerce products. However, the sharing buttons will only show at the bottom of the “Long description”.
How to move that up a bit, say between the short description and the product tabs? Simply add this function to your functions.php file editor: Continue reading WooCommerce: Move Social Sharing @ Single Product Page
The “Additional Information” tab on the single product page is somewhat annoying and, honestly, quite useless.
There are 2 simple methods to “hide” it or delete it completely: a CSS and a PHP solution. In the first case, you can input the code in your style.css; in the second case use your child theme’s functions.php.
However, Always remember that PHP is better than CSS: with CSS you load the element and then hide it, while with PHP you stop the element from loading. Clearly, PHP is a better way to do it! Continue reading WooCommerce: Remove Additional Information Tab @ Single Product
WooCommerce database stores the number of products sold.
Therefore, you may want to show such number on the product page, close to the Add To Cart button. As we’ve seen in my book Ecommerce and Beyond, showing the number of sales for each product can increase your sales conversion rate.
All you need is pasting the following code in your functions.php to show it in the product summary. Continue reading WooCommerce: Show Number Of Products Sold on Product Page
When optimizing a WooCommerce website with the excellent YOAST SEO plugin for WordPress, I noticed that building “templates” for titles and meta descriptions is not that easy. Mostly when you want to input the product category and the product title. Continue reading WooCommerce and YOAST SEO plugin: Title and Meta Templates
WooCommerce allows you to limit shipping by countries (or “allowed” countries). However, say your business is based in Pennsylvania, USA (PA) or in one of the Australian states. You may want to limit shipping to a state only.
All you need is pasting the following code in your functions.php Continue reading WooCommerce: Limit Shipping to One State Only
You may want to force users to login in order to see prices and add products to cart.
All you need is pasting the following code in your functions.php (please note: your theme may have overwritten some default WooCommerce functions, hence the code below may not work. Contact me if you need custom code). Enjoy! Continue reading WooCommerce: Hide Price & Add to Cart for Logged Out Users
You may want to disable the variable product price range which usually looks like $100-$999. With this snippet you will be able to hide the highest price, plus add a “From: ” in front of the minimum price. All you need is pasting the following code in your child theme’s functions.php 🙂 Continue reading WooCommerce: Disable Variable Product Price Range $$$-$$$
You may want to disable payment gateways depending on the user role or user capability. For example, you may want to disable PayPal for “user role: shop_manager” or enable a specific gateway for “user role: customer”. All you need is pasting the following code in your functions.php Continue reading WooCommerce: Disable Payment Gateway for Specific User Role
If Free Shipping is available, you possibly don’t want to show the other paid shipping options. WooCommerce shows by default all shipping rates that match a given shipping zone, so it’s not possible to achieve this from the settings alone.
You need PHP for that. In this example, we will disable all shipping methods but “Free Shipping” so that free shipping remains the only possible choice. And here’s the code to add to your functions.php 🙂 Continue reading WooCommerce: Hide Shipping Rates if Free Shipping Available
If you want to show the “short description” field on the products that are on your homepage or in the loop, here’s the PHP code to add to your functions.php Continue reading WooCommerce: Show Product Description @ Home / Loop
If you have many products and don’t want to use pagination (splitting the page in 1, 2, 3 or more pages), here’s the fix for you. Continue reading WooCommerce: Change Number of Products Per Page
If you use a full page width on your product page you might want to change the number of upsells to 3 (or multiple). Also, a client of mine needed the upsells to be above the tabs, so there you go. Continue reading WooCommerce: Change # of Upsells and Move Them Above Tabs
You might want to disable PayPal for non-local customers or enable a specific gateway for only one country… Either way, this is a very common requirement for all of those who trade internationally.
Here’s a simple snippet you can further customize to achieve your objective. Simply pick the payment gateway “slug” you want to disable/enable (“paypal”, “authorize”, “stripe”, etc.) and the country code (US, ES, IE, etc.) and then apply your conditional rules in the plugin below. Continue reading WooCommerce: Disable Payment Gateway for a Specific Country
There are times you don’t want to translate the whole installation of WordPress or one of its plugins (such as WooCommerce) just for renaming one short string. There are times you need to rename a label or a little thing and don’t feel like installing a bloated translation plugin. Thankfully, here’s a little PHP snippet that will work for you instantly. Continue reading WooCommerce: How to Translate / Rename any String
These WordPress Portfolio Themes are recommended for photographers, graphic designers, web designers, artists and whoever has something cool to show on a website!
If you didn’t know, a portfolio website is an essential tool that should be able to generate more business and increase your personal brand awareness. There is no doubt that TODAY, a portfolio website is definitely more important than a CV, no matter what creative industry you work in.
Portfolio websites (and therefore themes) usually have a striking image-based and categorized portfolio section, from where each project can be accessed and studied. Besides, huge importance is given to the “about me” page, where the artist should be able to display her skills, abilities, photo and social media feeds. They should also focus on the most important call to action: “contact us”.
Well, we hope you like our collection of WordPress Portfolio themes. Enjoy 🙂
Continue reading 15+ Best Premium WordPress Portfolio Themes
If you have a passion for cooking and want to showcase your recipes (or even turn your hobby into a profitable business!), here are 15+ WordPress Professional Themes you should take a look at.
Whether you plan to build traffic to your recipe blog, set up a membership-only website or even sell your own creations, a ready-made WordPress theme might help you go live fast and concentrate on what you can do best: cooking awesome stuff!
Here’s my selection of recipe themes – look at their demos and see if any of them fits your purpose. Remember, it’s a little investment as opposed to getting custom website development – start small and easy and once you start monetizing you will have more time to grow and add sections to your website 🙂 Continue reading 10+ Best Premium WordPress Recipe Themes
Sometimes it’s easier (and cheaper) than you think. WordPress Theme Development companies do offer some of their themes for free to build their reputation (and increase their premium sales of course).
Here’s a collection of Free Themes for WordPress that you just can’t miss. From portfolio websites to furniture sales, from business to personal brochures, you’ve got a wide choice. Download for free, install, set up quickly and go live with $0…
Following themes are completely free of charge, as well as documentation and support. When you encounter the term “Lite” or “Light”, it might be a freemium model i.e. the theme is free but if you upgrade to premium you can get extra features.
Enjoy, and if you can leave a comment below 🙂 Continue reading 10 Free WordPress Themes you Can Really Use!