Moving WooCommerce Upsells on Product Pages

…echo ‘<style> .woocommerce .widget_wc_upsells ul.products li.product, .woocommerce-page .widget_wc_upsells ul.products li.product { width: 48%; margin-top: 1em; } </style>’; } } Now my upsells will also look like they belong there when used in a widget, as styles will be adjusted for the widget space. You can view the complete code here — click “Download Zip” and install this as a plugin if desired, or checkout the gist to modify it further for y…

Read More

SkyVerge WooCommerce Extensions

Adding WooCommerce Memberships Restriction Notice Merge Tags

…ord comma purist). The function is essentially the same, but it will Oxford-comma and bold items in the list. You can view that full snippet here. Once it’s added to the site, you can use the {plan_names} merge tag as outlined in your product messages: Which can now output a list of plan names for access instead of products to purchase: You could take this further to add different merge tags, or filter other restriction message types to use this m…

Read More

WooCommerce Measurement Price Calculator

…of tile with a customer calculator Want to sell a product based on customer-entered measurements instead? The WooCommerce Measurement Price Calculator can do that, too. The Calculator can sell custom-sized products priced by unit: per meter, cubic yard, etc. You can let customers enter the exact amount of the product needed, and the calculator will automatically add the calculated price to the cart. This will also deduct the current amount of the…

Read More

WooCommerce reviews + tutorials

WooCommerce 1.4 SSL Admin Mixed Content Bug

…ecent news posting, WooCommerce 1.4 while a great update to the excellent E-Commerce offering from WooCommerce, did include at least one very minor bug. This issue would apply only to those who serve their administration over SSL, which is most likely just me, and by now you can probably guess is the age-old mixed content issue. I first realized something was amiss when soon after updating my production server to the latest and greatest I saw the…

Read More

WP Development

WordPress Comments Feed 404 Fixed

…pecifically a 404 Not Found for the Comments Feed url https://www.skyverge.com/comments/feed/. I requested the page and sure enough, it was indeed a 404. A quick search turned up a number of threads and discussions regarding this issue, which seems to stem from having a new site without a single comment yet. How embarrassing. Now, let me stop you right there before you start blaming plugins and permalinks; as an experiment I installed a fresh Word…

Read More

Exclude Your Traffic From Jetpack Site Stats

…me is that this filters logged-in user traffic indiscriminately and as an ECommerce site running WooCommerce I could have any number of visitors logged in as Customers, who’s traffic I most assuredly would want to track. What I really need is a way to exclude only my traffic, as the site’s Administrator. Also since I’m generally, though not always, logged in it would be nice to have a failsafe to always exclude page views from my computer regardle…

Read More

WP Development

WordPress Settings API Hidden Field

…/2009/wordpress-settings-api-tutorial/ http://wp.tutsplus.com/tutorials/the-complete-guide-to-the-wordpress-settings-api-part-1/ Luckily those two articles cover the basics of the Settings API so well that I won’t have to, and can focus on this one specific case. Adding a Hidden Field Again, the reason I even wanted to add a hidden field to a Settings page was because I wanted to display a number of checkboxes all within a single field. I did this…

Read More

How to Upgrade Magento

…Magento core, and all available 3rd party extensions: $ ./mage upgrade-all –force Verify – Check for any packages that were not upgraded properly: $ ./mage list-upgrades Note that after a successful upgrade, the permissions for the mage script may be incorrect, so if you see ./mage: Permission denied, simply make the file executable, and then continue along: $ chmod +x mage $ ./mage list-upgrades If you see ‘No upgrades available’, then everythin…

Read More

Guide for Upgrading to WooCommerce 2.1

…rce and any extensions with updates (though most have already been made 2.1-compatible). One of the first things you’ll notice is that settings have changed. For example, all Payment Gateway information and settings is now under “Checkout”. Under “General”, we recommend that you leave the REST API enabled. You may also want to set a number of decimal places (recommended: 2) for your pricing under General settings. Some of the other general setting…

Read More

Changing WooCommerce Custom Order Status Icons

…e icons for your custom order statuses, so feel free to use them in any WooCommerce store. WooCommerce Custom Order Statuses First, you can easily add your own order statuses to your WooCommerce shop with a tiny bit of code. We’ve written a tutorial on creating WooCommerce custom order statuses at SellwithWP.com if you’d like to add one of your own. That example adds “Building” and “Awaiting shipment” order statuses, so let’s use these in our test…

Read More