Encerrado

CubeCart Basket Data Structure

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

[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.

Habilidades: Engenharia, Gestão de projetos, Arquitetura de software, Teste de Software

Ver mais: cubecart data structure, table data structure, string in data structure, string data structure, project contract example, d vworker, data structure that, data structure in array, data structure in, data structure example, data structure.com, data structure array, data structure and c, c data structure, c and data structure, array in data structure, array data structure, a data structure, about data structure, protection engineering, structure engineering, cubecart, basket, php table array, cubecart php

Acerca do Empregador:
( 2 comentários ) Australia

ID do Projeto: #3026743

1 freelancer está ofertando em média $12 para este trabalho

eamattos

See private message.

$11.89 USD in 2 dias
(10 Comentários)
3.0