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