Make this work on pages that display cart totals.

Fixes #26