i think something like this should work(for frontend):
outside(before) the values loop define variable $total = '0';
inside the values loop $price = get_sub_field('price'); $total = $total + $price;
outside(after) the values loop echo $total;
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users