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:
a:4:{s:5:"conts";a:1:{s:17:"59:2214|2440|2218";a:1:{s:8:"quantity";d:1;}}s:11:"currentStep";s:1:"1";s:9:"stepLimit";s:1:"2";s:8:"shipCost";s:1:"0";}
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)
currentStep: 1
stepLimit: 2
shipCost: 0
## Deliverables
[login to view URL] 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.