[-] FO : Fixed customized product duplication queries in Cart.php

- Fixed SQL queries and an incorrect variable at cart product duplication functions;
- Fixed customized cart product duplication queries, will no longer thrown an exception;