Fixed a typo where the function was referring to the wrong cart items.
Merge pull request #1940 from carldanley/release/2.0

Patch for variable reference problem