WooCommerce: Hide Price & Add to Cart for Logged Out Users

You may want to force users to login in order to see prices and add products to cart. That means you must hide add to cart buttons and prices on the Shop and Single Product pages when a user is logged out.

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

WooCommerce: Disable Variable Product Price Range $$$-$$$

You may want to disable the WooCommerce variable product price range which usually looks like $100-$999 when variations have different prices (min $100 and max $999 in this case).

With this snippet you will be able to hide the highest price, and add a “From: ” prefix in front of the minimum price – variable products with a single price (i.e. all variations have the same price) will keep their original format.

Simply paste the following code in your child theme’s functions.php and enjoy!

Continue reading WooCommerce: Disable Variable Product Price Range $$$-$$$

WooCommerce: Disable Payment Gateway for Specific User Role

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

WooCommerce: Hide Shipping Rates if Free Shipping Available

If Free Shipping is available, you possibly don’t want to show the other premium 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.

Thankfully, the “woocommerce_package_rates” filter allows us to manipulate the shipping rates before they are returned to the frontend. In this example, we will disable all shipping methods but “Free Shipping” so that free shipping remains the only possible choice.

Here’s the code to add to your functions.php. Enjoy!

Continue reading WooCommerce: Hide Shipping Rates if Free Shipping Available

WooCommerce: Disable Payment Gateway by Country

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 by Country

WooCommerce: How to Translate / Rename Any String

There are times you don’t want to translate the whole installation of 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.

It doesn’t matter whether you want to rename a string in the original language (English, usually), or change the default translated string in a different language. Either way, and thankfully, there’s a little PHP snippet that will work for you instantly. Enjoy!

Continue reading WooCommerce: How to Translate / Rename Any String

WordPress: 15+ Best Premium Portfolio Themes

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 WordPress: 15+ Best Premium Portfolio Themes

WordPress: 10+ Best Premium Recipe 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 WordPress: 10+ Best Premium Recipe Themes

WordPress: 10 Free Themes you Can Really Use!

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 WordPress: 10 Free Themes you Can Really Use!