Merge two columns.
-
Hey.
I’ve found an article to merge two columns into one. Is the following code correct?
Product Variation should be merged with a custom column called “_pa_farbe-ts”.
add_filter('woe_get_order_value_product_variation_1',function ($value, $order,$fieldname) { return get_post_meta($order->id,'_product_variation_1',true).' '.get_post_meta($order->id,'_pa_farbe-ts',true); },10,2); ?>Thank you.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
The topic ‘Merge two columns.’ is closed to new replies.