customized cart to be append extra details of the item.
edited functions to enable processing of metadata