Minor changes.
Added cart filter functions by nid and pid