{"_id":"58b3cf9ea697d00f004b996c","version":{"_id":"571f5e8cd8667f0e00a3c49b","hasDoc":true,"__v":12,"hasReference":true,"project":"571f5e8cd8667f0e00a3c498","createdAt":"2016-04-26T12:26:52.312Z","releaseDate":"2016-04-26T12:26:52.312Z","categories":["571f5e8cd8667f0e00a3c49c","571f73cfcb4baa0e00d13a80","571f7451cb4baa0e00d13a88","571f7d2720695f3400f38797","571f7fb0ac2a080e0014c661","571f884be54f2d0e003ebb0a","572200c9ecb38d0e00d80ebd","572c301e7c8eff0e00aaa174","57df91b2c6348d0e0020c452","57e104db9ff1e21900a721ab","57fd04caeaa77f19008b8202","5899c7113514ce0f0014da84"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"__v":0,"project":"571f5e8cd8667f0e00a3c498","category":{"_id":"5899c7113514ce0f0014da84","__v":0,"project":"571f5e8cd8667f0e00a3c498","version":"571f5e8cd8667f0e00a3c49b","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-02-07T13:09:37.119Z","from_sync":false,"order":9999,"slug":"simplecartjs","title":"Shopping Cart"},"parentDoc":null,"user":"5720ba18c669e80e00c35051","updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-02-27T07:05:02.339Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"With the shopping cart extension which you can activate in your FundraisingBox at \"Settings > Extensions > Fundraising\" you are able to handle charity shopping carts. Donations are enriched with a table that show the content of the cart then.\n\nThis shopping cart content is stored in a custom donation field. E.g. you can create a custom donation field (type of this field should be \"text\") and call it \"Shopping cart\" or any other name you like. Select this field for the shopping cart in the extension settings mentioned above.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Using simpleCart(js)\"\n}\n[/block]\nAfter done so there are two ways to fill the shopping cart. The first and easiest way is to use simpelCart(js), an open and lightweight easy to use JavaScript framework. The framework does not only manage your cart at your website including storage, but also handle the communication with your FundraisingBox. So you will be able to create a shopping cart connected with a donation form very quickly. Please find more information about this aproachment under \"[Demo Shop with simpleCart(js)](/docs/demo-shop)\".\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Using another shop framework with json interface\"\n}\n[/block]\nIf you don't want to use simpleCart(js) you can create a charity shop for your own. Feel free do do anything you like with any kind of technology use would like to use. In the end you should transfer the shopping cart content to your donation form in a defined json format. Just prepopulate the hidden custom donation field with this json to show the cart content in a well formated table in your FundraisingBox. You can find more details under \"[JSON format for shopping cart data](/docs/json-format-for-shopping-cart-data)\".","excerpt":"","slug":"introduction","type":"basic","title":"Introduction"}
With the shopping cart extension which you can activate in your FundraisingBox at "Settings > Extensions > Fundraising" you are able to handle charity shopping carts. Donations are enriched with a table that show the content of the cart then. This shopping cart content is stored in a custom donation field. E.g. you can create a custom donation field (type of this field should be "text") and call it "Shopping cart" or any other name you like. Select this field for the shopping cart in the extension settings mentioned above. [block:api-header] { "type": "basic", "title": "Using simpleCart(js)" } [/block] After done so there are two ways to fill the shopping cart. The first and easiest way is to use simpelCart(js), an open and lightweight easy to use JavaScript framework. The framework does not only manage your cart at your website including storage, but also handle the communication with your FundraisingBox. So you will be able to create a shopping cart connected with a donation form very quickly. Please find more information about this aproachment under "[Demo Shop with simpleCart(js)](/docs/demo-shop)". [block:api-header] { "type": "basic", "title": "Using another shop framework with json interface" } [/block] If you don't want to use simpleCart(js) you can create a charity shop for your own. Feel free do do anything you like with any kind of technology use would like to use. In the end you should transfer the shopping cart content to your donation form in a defined json format. Just prepopulate the hidden custom donation field with this json to show the cart content in a well formated table in your FundraisingBox. You can find more details under "[JSON format for shopping cart data](/docs/json-format-for-shopping-cart-data)".