Shopping: Updated depricated code to remove warrning