SELECT 
'Total' title, '' text, ot.meta_value value,'ot_shipping' class,1 sort_order
FROM <@PREFIX>postmeta ot where 
ot.post_id = %s and ot.meta_key  = '_order_total'

 

 
