finished buy products cart action and tests