[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2.0.0 #61

Merged
merged 60 commits into from
Jun 12, 2019
Merged
Changes from 1 commit
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
afae556
Updated readme files.
seb86 Nov 5, 2018
8f3f9b0
WIP for version 2.0.0
seb86 Nov 9, 2018
37e5701
Merge branch 'master' of github.com:co-cart/co-cart into v2.0.0
seb86 Nov 9, 2018
3f3e332
Renamed file
seb86 Nov 9, 2018
9a6fee4
Added constants
seb86 Nov 15, 2018
e514bed
Corrections
seb86 Nov 15, 2018
83fdef0
Improvements
seb86 Nov 15, 2018
14b7883
Bumped plugin version and WC tested up to
seb86 Nov 15, 2018
53f6034
Adjustments to keep the files organized
seb86 Nov 17, 2018
0f597fc
Added support for ScreenReaders
seb86 Nov 17, 2018
bf541a8
Minor cleanup
seb86 Nov 17, 2018
a839cd7
Updated legacy API and removed old duplicate
seb86 Nov 17, 2018
e1e3b62
Applied improvement from v1.0.6 release
seb86 Nov 17, 2018
0e3b874
Comment correction
seb86 Nov 17, 2018
e97411c
Corrected since on new API
seb86 Nov 17, 2018
cb64f78
Updated README.md
seb86 Jan 27, 2019
dfb0fcb
Added check for CoCart Pro
seb86 Jan 27, 2019
581f917
Updated readme.txt
seb86 Jan 27, 2019
93fa8e1
Changed suffix for register style
seb86 Jan 27, 2019
86bc7bd
Updating branch with changes applied in minor releases
seb86 May 30, 2019
6055e80
Updated CHANGELOG.md
seb86 May 30, 2019
e596102
Updated README.md
seb86 May 30, 2019
3eb4e4f
Merge conflicts and apply improvements
seb86 May 30, 2019
f71b660
Conflict clean up
seb86 May 30, 2019
afec092
Corrected versions of functions since added already in earlier versions
seb86 May 30, 2019
c7c806d
Removed woocommerce check in main plugin file
seb86 May 30, 2019
7bb57e9
Removed duplicate files previously renamed
seb86 May 31, 2019
3859810
Removed duplicate
seb86 May 31, 2019
5378e22
Make sure WC exists before including cart controller
seb86 May 31, 2019
be317de
CoCart - plugin name no longer translatable
seb86 May 31, 2019
092b98b
Moved wc dependency check to admin notices
seb86 May 31, 2019
fc1ad06
Applied route name for getting cart
seb86 May 31, 2019
97bd886
Better loading of the API
seb86 May 31, 2019
63b81b1
Forced only administrators to access a customers cart
seb86 May 31, 2019
be435e7
Calling a customers cart did not return product data
seb86 May 31, 2019
945cd6c
Added filter to allow additional data to return for items in cart
seb86 May 31, 2019
251ac3b
Added filter for thumbnail size
seb86 Jun 2, 2019
87928b7
Passed item key, cart item and product details for new filter
seb86 Jun 2, 2019
f31e0f0
Passed product data for filter to identify which product
seb86 Jun 2, 2019
4e04acb
Inline comments
seb86 Jun 5, 2019
3b47d12
Updated CHANGELOG.md
seb86 Jun 5, 2019
7cfae74
Updated README.md
seb86 Jun 5, 2019
0b50f39
Tested up to WC 3.6.4
seb86 Jun 5, 2019
d7e60ff
Updated readme.txt
seb86 Jun 5, 2019
ab93ee8
Ready for testing
seb86 Jun 5, 2019
51bb46e
Changed endpoint for adding items
seb86 Jun 5, 2019
708c77c
Added mission version variable
seb86 Jun 5, 2019
4a1152f
Updated POT
seb86 Jun 5, 2019
f90148a
Return blank if cart is empty not empty REST response
seb86 Jun 6, 2019
8ecf031
Tweaked rest route arguments
seb86 Jun 6, 2019
51b2749
Updated notices and upgrade warning from v1.2.3 release
seb86 Jun 7, 2019
4020c80
Updated readme.txt
seb86 Jun 7, 2019
7164587
Updated CHANGELOG.md
seb86 Jun 7, 2019
490e363
Updated README.md
seb86 Jun 7, 2019
735e34f
Added another filter for return cart contents
seb86 Jun 10, 2019
171be6f
Return in WP_REST_Response rather than just the array
seb86 Jun 10, 2019
abff942
Updated CHANGELOG.md
seb86 Jun 11, 2019
c822e0c
Inline doc correction
seb86 Jun 11, 2019
2838880
Updated POT
seb86 Jun 11, 2019
ad82f59
Added .styleintrc
seb86 Jun 11, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Comment correction
  • Loading branch information
seb86 committed Nov 17, 2018
commit 0e3b874434c33a2b096237252c7b7a6f1ab373ea
2 changes: 1 addition & 1 deletion includes/api/wc-v2/class-wc-rest-cart-controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function register_routes() {
'callback' => array( $this, 'get_totals' ),
));

// View Cart - wc/v2/cart/clear (POST)
// Clear Cart - wc/v2/cart/clear (POST)
register_rest_route( $this->namespace, '/' . $this->rest_base . '/clear', array(
'methods' => WP_REST_Server::CREATABLE,
'callback' => array( $this, 'clear_cart' ),
Expand Down