Flag cart extends Flag. It allows to create block with cart icons that are automatically updated when content is flagged.
Go to 'admin/structure/flag_cart'. Here you can see a block settings for each flag created with the Flag module. In the block settings set the following:
- Cart url: Enter here the url of the flag (the view.
- Cart icon: Define here a custom cart icon for the block. It can be a local path or an url.