Change Label for field used in Woo Commerce

It gets its label using a localisation call, __(‘IBAN’, ‘woocommerce’), so you could always just intercept that and change the text: /** * filter translations, to replace some WooCommerce text with our own * @param string $translation the translated text * @param string $text the text before translation * @param string $domain the gettext domain … Read more

Managing WP Core & Plugin Updates for Clients

Not sure if there actually is a in scope answer for what you are asking, but the below are some hopefully helpful informations/thoughts. Besides that, I don’t know about (all) the tools you are mentioning, but thats secondary anyway. What you want, of course, is to keep the development process, like you described it, alive. … Read more

Plugin Unit Test for Table and Option Creation

Should you test this? Yes. How should you test this? That depends. There are several different approaches to unit testing WordPress plugins. The one that I prefer and am most familiar with is more like integration testing. I can’t tell from your post whether you are using this approach or not, but I’ll answer from … Read more

Recommended eCommerce Plugin for a T-Shirt Sales Business? [closed]

Woo (the makers of WooThemes) announced their integration with shopify recently, from the looks of it… http://themes.shopify.com/themes/air/styles/air would do what you want.. I would look into hosting the shop at Shopify, and seeing if your base website can be wordpress. Woo has announced that they’re working on a e-commerce framework as well, but until that … Read more

Create theme files for plugin

Here is the code that will let you return your single-event.php if the post type is event: function my_event_template($single_template) { global $post; if ($post->post_type == ‘event’) { return dirname( __FILE__ ) . ‘/single-event.php’; return $single_template; } add_filter( “single_template”, “my_event_template” ) ;

The hook for the AJAX Add to Cart button?

Digging through the code, it’s pretty straight-forward to find. First, look at the template used for product archives – /templates/archive-product.php. Among other things, it sets up the regular queries and begins building the markup of the page. But when it actually starts looping through each product, it delegates the work to /templates/loop-shop.php. This template is … Read more