Fix woocommerce 2.0 backward compatibility