German translation for WooFramework & FlipFlop Theme

Posted on May 12, 2013 in Wordpress | No Comments

I published a website based on the FlipFlop Theme by WooThemes and I couldn’t find any German translation files for the theme or the WooFramework. So it was up to me… I translated more than 600 items and it felt like 100 hours of work! So please before you download the files think about a ...

get next custom post in custom taxonomy in WordPress

Posted on Apr 15, 2013 in Wordpress | No Comments

How to get the next post inside the current taxonomy? If your using the standard wordpress post, you can use next_post_link() and even specify to use the category but for a custom post type this solution doesn’t work, so I wrote the following lines. Add the code below to your single-.php at the position where ...

Add column to WP-Ecommerce Purchase Logs

Posted on Mar 16, 2013 in PHP, Wordpress | No Comments

I recently needed to extend the columns of the WPSC purchase logs dashboard page to add a custom column “invoice number”. I found some hints to use the filter wpsc_manage_purchase_logs_columns which looks quite suitable but found out this has been removed in favor of the WordPress core functions https://github.com/leewillis77/WP-e-Commerce/commit/76267fbb870230f4da6aeb095d02d17c610b75db A great article by Claudio Simeone ...

How to style the products table in WP E-Commerce

Posted on Feb 21, 2013 in Wordpress | No Comments

This article is related to WP E-Commerce shop styling plugin so if you have not installed the plugin you should do this before continuing here. Add/Remove columns in products table In the WordPress backend you can customize the columns you want to display in the table. Go to settings->Shop styling and select the tab “products ...

Shop Styling is ready for WordPress 3.5

Posted on Jan 3, 2013 in News, Wordpress | No Comments

WP E-Commerce shop styling 1.5 has been released and solves some compatibility problems with wordpress 3.5 improves the placeholder selection in tinymce has a new option to send a copy of the pdf invoive to the admin fixes the missing link in password reset mail  

wp-ecommerce shop styling 1.4 released

Posted on Dec 10, 2012 in Wordpress | No Comments

I’ve just released a new version of wp-ecommerce-shop-styling Version 1.4 includes a few improvements for the formatting of the products table. The Email senders have been changed again: The custom sender can be disabled now for non wpec mails read more…

wp-ecommerce shop styling 1.3 released

Posted on Nov 28, 2012 in Wordpress | No Comments

I’ve just released a new version of wp-ecommerce-shop-styling Version 1.3 includes a bugfix for track&trace mails and a new feature. As reported here previous versions changed all email senders to the sender defined in wpsc settings. This has been changed with new configuration fields to define separate senders for mails from the shop and any ...

wp ecommerce & qtranslate multilanguage store

Posted on Nov 21, 2012 in Wordpress | 3 Comments

This post is a development documentation of the qtranslate integrations for WP E-commerce Shop Styling. I’m working on a multilanguage wp ecommerce shop. Many translations work out of the box with qtranslate and the content from the .mo and .po files. Unfortunately there are some small problems. shopping cart Product name In the shopping cart ...

check whether a country is in EU in PHP

Posted on Nov 13, 2012 in PHP | No Comments

This could be useful to someone else: This simple function takes a country code as parameter and returns TRUE if it’s in European Union (EU) or FALSE otherwise. function isEU($countrycode){ $eu_countrycodes = array( 'AT', 'BE', 'BG', 'CH', 'CY', 'CZ', 'DE', 'DK', 'EE', 'EL', 'ES', 'FI', 'FR', 'GB', 'HU', 'IE', 'IT', 'LT', 'LU', 'LV', 'MT', 'NL', ...

get latest purchase in WP E-commerce

Posted on Oct 25, 2012 in Wordpress | No Comments

Just a small piece of code to get the ID of the latest purchase in wp e-commerce: global $wpdb; $sql = "SELECT id FROM `".$wpdb->prefix."wpsc_purchase_logs` ORDER BY id DESC LIMIT 1"; $latest_purchase_id = $wpdb->get_var($sql); I hope it will be useful to anybody else…