Strangely, my xcart didn't like calling the table name ...?
 
I've popped this in instead and it seems to work?
 
$mintotal = func_query_first_cell("SELECT mintotal FROM `xcart_shipping_rates` where rate = '0' and shippingid = '173'"); 
$smarty->assign("mintotal",$mintotal); 
 
 
 
Dropped it into the equation and it works perfectly! Faaaaantastic! Whoop! Thank you, Steve!
 
