Make this work on pages that display cart totals.