views cart relate function added