In CubeCart's "session" table exists a field called "basket". This field holds information about the items currently ordered by customers (i.e. their basket).
A string may look like this:
As a PHP programmer, we need you to extract this information from a string like above into an associative array that we can access unique values.
The most important values for us are "59:2214|2440|2218" and quantity.
By obseravation, I believe you can group these elements by 2. For example:
conts: array("59:2214|2440|2218", "quantity": 1)
[url removed, login to view] requirements notice: As originally posted, this bid request does not have complete details. Should a dispute arise and this project go into arbitration "as is", the contract's vagueness might cause it to be interpreted against you, even though you were acting in good-faith. So for your protection, if you are interested in this project, please work-out and document the requirements onsite.