forked from co-cart/co-cart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
123 lines (78 loc) · 4.89 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
=== CoCart ===
Author URI: https://sebastiendumont.com
Plugin URI: https://cocart.xyz
Contributors: sebd86
Tags: woocommerce, cart, endpoint, JSON, rest, api, rest-api
Donate link: https://sebdumont.xyz/donate/
Requires at least: 4.9.8
Requires PHP: 5.6
Tested up to: 5.2
Stable tag: 1.1.2
WC requires at least: 3.0.0
WC tested up to: 3.6.3
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
A REST-API for WooCommerce that enables the ability to add, view, update and delete items from the cart.
== Description ==
[WooCommerce](https://wordpress.org/plugins/woocommerce/) REST API is great but it's missing one important endpoint that allows you to manage the cart.
That's were [CoCart](https://cocart.xyz/?utm_medium=wp.org&utm_source=wordpressorg&utm_campaign=readme&utm_content=cocart) comes in. It creates requests for the cart the same way requests via direct URL or Ajax are handled allowing you to add, remove, restore and update items to and from the cart.
= Built with Developers in Mind =
CoCart is created for developers in mind and allows you to use WooCommerce's REST API to it's full potential. This also provides the option to create a full app for your WooCommerce store.
Intrigued? _I bet you are._ [See documentation](https://co-cart.github.io/co-cart-docs/) on how to use CoCart today.
You can also [contribute](https://github.com/co-cart/co-cart/blob/master/CONTRIBUTING.md) to CoCart.
Enjoy!
> #### CoCart Pro
> Want to control more? _I bet you do._
>
> - Add and Remove Coupons to Cart<br />
> - Get Applied Coupons<br />
> - Get Coupon Discount Total<br />
> - Get Cart Total Weight<br />
> - Get Cross Sales<br />
> - Get and Set Shipping Methods<br />
> - Get and Set Tax Fees<br />
> - Calculate Shipping Fees<br />
> - Calculate Totals and Fees<br />
> - Calculate Total and Shipping Tax Fees<br />
> - Support via Slack<br />
> - and possibly more features and add-ons to follow.<br />
>
> [Sign up if you are interested in CoCart Pro](http://eepurl.com/dKIYXE)
= Need Support? =
At this time I can **NOT** provide support. [See support](https://github.com/co-cart/co-cart#-support) for details. If you [post a ticket](https://wordpress.org/support/plugin/cart-rest-api-for-woocommerce/) via the community support forum, a member of the community maybe able to help you.
== Installation ==
= Minimum Requirements =
Visit the [WooCommerce server requirements documentation](https://docs.woocommerce.com/document/server-requirements/) for a detailed list of server requirements.
= Automatic installation =
Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of CoCart, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.
In the search field type "CoCart" and click Search Plugins. Once you’ve found the plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking "Install Now".
= Manual installation =
The manual installation method involves downloading the plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains [instructions on how to do this here](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation).
= Updating =
Automatic updates should work like a charm; as always though, ensure you backup your site just in case.
== Frequently Asked Questions ==
= How do I access the cart endpoints? =
All can be explained via the API [documentation](https://co-cart.github.io/co-cart-docs/).
= Does it work with any of the official WooCommerce libraries? =
I'm afraid not. This is because the libraries require authentication which the cart does not require.
= Can I view any customers cart? =
No. Only the one in session, just as you would view the cart via the site.
= Where can I report bugs or contribute to the project? =
Bugs can be reported either in the community support forum or preferably on the [CoCart GitHub repository](https://github.com/co-cart/co-cart/issues).
= Where can I ask for help? =
Please reach out via the official [support forum on WordPress.org](https://wordpress.org/support/plugin/cart-rest-api-for-woocommerce/).
== Screenshots ==
1. Empty Cart
2. Viewing the carts content without product thumbnail.
3. Viewing the carts content with product thumbnail.
== Upgrade Notice ==
See changelog for list of changes.
== Changelog ==
= v1.1.2 - 17th May, 2019 =
* Tweaked: Allow removing of items via update logic if quantity is zero. Thanks to [@SHoogland](https://github.com/SHoogland)
= v1.1.1 - 25th April, 2019 =
* Checked: Compatibility with WooCommerce v3.6.2
* Updated: Changelog. Forgot to do it in last update.
= v1.1.0 - 23rd April, 2019 =
* Compatible: Support for WooCommerce 3.6+
[View the full changelog here](https://github.com/co-cart/co-cart/blob/master/CHANGELOG.md).