Find Jobs
Hire Freelancers

CubeCart Basket Data Structure

$10-15 USD

Closed
Posted about 13 years ago

$10-15 USD

Paid on delivery
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.
Project ID: 3026743

About the project

1 proposal
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $12 USD for this job
User Avatar
See private message.
$11.89 USD in 2 days
5.0 (10 reviews)
3.0
3.0

About the client

Flag of AUSTRALIA
Australia
5.0
2
Member since Aug 27, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.