WP Development

Writing a Plugin That Can Be Localized by WPML

…er, had no effect. A little bit of digging through the WPML source eventually uncovered my mistake: I was simply calling load_plugin_textdomain() too early! I was loading my plugins text domain in my plugins constructor, which of course happened after the WPLANG constant was defined, but before WPML had a chance to set the selected locale, which explained why my translation worked for the one but not the other. Moving the call to load_plugin_textd…

Read More

Timezones

Down the Rabbit Hole: WordPress and Timezones

…unix timestamp, which has no timezone (technically it’s UTC, but not exactly). This really simplifies our process to check if a pre-order should be released — a simple call to time() and we can compare it against the release timestamp. Easy-peasy! But wait, now we have to convert the release date & time entered by the admin for the pre-order into a unix timestamp. The first try was something like $timestamp = strtotime( $release_datetime );, but…

Read More

WooCommerce reviews + tutorials

New Tutorial: Customize WooCommerce Emails

Hi all! Some of you have asked us both here and at Sell with WP a bit about how to customize your WooCommerce emails. We did write about creating your own custom WooCommerce emails, but changing the look of your emails to blend in with your brand is an important part of your store’s communication. We wanted to let you know that Justin has written a tutorial on customizing WooCommerce order emails at Sell with WP for you to check out. He’s covered…

Read More

WooCommerce extension updates & releases

WooCommerce Chase Paymentech re-listed

…e merchant submits this application, s/he will also have to undergo quarterly PCI compliance scans. We recommend that merchants use Security Metrics. This makes up the only additional costs needed to use this integration. There are no certification fees through Chase. Following approval from Chase, merchants can usually start testing the integration in their environment within 5 business days. This allows the merchant to ensure that all transactio…

Read More

WooCommerce extension updates & releases

WooCommerce Order Status Control Available at WooCommerce

…kind of like tying your shoes for some stores. It’s not something that really needs to be done for stores that automatically export orders to drop-shippers, have a fulfillment process outside of WooCommerce, or ship immediately for paid orders. So why not just skip or automate the need to click “Complete Order”? That’s what WooCommerce Order Status Control is for. This extensions allows you to autocomplete any order marked as “paid” (i.e., orders…

Read More

Ask SkyVerge

Choosing an SSL Certificate for WooCommerce Shops

…lidation (EV) SSL Certificate browser display for one of our clients The only other thing to consider is whether or not you need a Wildcard certificate. Let’s take WooCommerce as an example. Their main site is WooCommerce.com. However, they also have a support site (support.woocommerce.com) and documentation site (docs.woocommerce.com), which are subdomains of their primary domain name. If you purchase a regular SSL certificate, you’ll have to pro…

Read More

Ask SkyVerge

Ask SkyVerge: 20 WooCommerce How To’s

…WooCommerce Coupon Code Fields. Q: How do I get items to sort alphabetically in an order? For example, I want the items in my WooCommerce order to display alphabetically at checkout. A: Justin wrote a tutorial for this on our blog. Q: How can I disable the WooCommerce SKU field? I don’t have SKUs for my products. A: Use this snippet in the bottom of your theme’s functions.php: add_filter( ‘wc_product_sku_enabled’, ‘__return_false’ ); Q: Can I add…

Read More

Code

Developers: Turbocharge Heroku Deploy Hooks using Torpio

…nt to be able to use this same script for multiple apps, the script does a bit of translation from the Heroku app slug to the NewRelic app ID. We can then use the same webhook URL and script for every app. That’s it! This is a very simple example of the sort of thing you can do with Torpio. They have some great examples in their getting started guide and excellent developer docs. If you need to integrate one of their supported services, you even g…

Read More

Changing WooCommerce Custom Order Status Icons

…ny 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 shop. Default Custom Status Display When you add a custom order stat…

Read More

WooCommerce extension updates & releases

Advanced Reviews: WooCommerce Product Reviews Pro

…mmerce reviews will allow ratings, content for the review, and can optionally show ‘verified’ reviews (or limit reviews to only verified purchases). However, take a look at what the bigger eCommerce sites do with reviews: filter by review rating, add qualifier questions such as information on size and fit, allow commenting and questioning, include customer-generated content, and show review breakdowns instead of just average star rating. Product R…

Read More