notes for Custom field “Einheit” after price in woocommerce:
custom field -> add new -> Einheit: Stk
dann in functions
add_filter( 'woocommerce_price_format', 'overwrite_woocommerce_price_format', 10, 2 ); function overwrite_woocommerce_price_format( $format, $currency_pos ) { global $post; if ( $post->post_type != 'product' ) return $format; $custom_field = get_post_meta( $post->ID, 'Einheit', true ); // This will return your custom field value return $format . ' ' . __( $custom_field, 'woocommerce' ); // Here you'll append your custom field with price }
for importing with woo product importer
map name, sku, price, einheit (post meta: einheit), usw disable all that are being not imported!! http://stackoverflow.com/questions/17586493/woocommerce-append-custom-field-after-price-in-content-single-product-php