...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Array ( [0] => stdClass Object ( [cart_item_id] => 36 [cart_id] => 200 [nid] => 70 [qty] => 1 [changed] => 1458745078 [node] => stdClass Object ( [uri] => http://your-domain/node/70 [id] => 70 [resource] => node [uuid] => c8de7a61-0d7c-48b0-b146-289d8ed2524d ) ) [1] => stdClass Object ( [cart_item_id] => 37 [cart_id] => 200 [nid] => 75 [qty] => 1 [changed] => 1458745078 [node] => stdClass Object ( [uri] => http://your-domain/node/75 [id] => 75 [resource] => node [uuid] => 289d8ed2524d-48b0-byr6-as34kn4iopwn ) ) ) |
Looking up the
...
foreign key of each item in the cart.
In order to populate the external cart, each course in EthosCE should be linked to a product id in the external system using a key. Typically this key is stored in the External ID field in the course, although the SKU may be used as well. The value of the External ID field can be retreived using the course endpoint.
...