After updating the plugin any request to modify a cart gets a “cors no ‘access-control-allow-origin’ header is present” error. I can still get the cart with no problem, but I just can’t modify.
After rolling back to V3 it works as expected. I was wondering if there way a change I needed to make on my side to get V4 to work correctly or if this was a bug.
Thanks
]]>?brand=Lafarge
), but the current API does not provide a parameter for this.
Could you advise on what I can do to address this issue?
Thank you for your assistance.
Best regards,
]]>Please also make sure they link to https://www.ads-software.com/plugins/cart-rest-api-for-woocommerce/ for some reason it takes you to a chocolate store in Mumbai.
Thank you.
]]>I have Cocart v3.4.1 with Woocommerce 5.6, WCFM Ultimate, WCFMMP Membership plugins.
When I am trying to register a vendor then I am getting “Email verification code invalid” error (even if I am entering correct code received in email). But, when I have added an item in my cart then I don’t get this error and vendor registration completed successfully.
After debugging I found that the error is generated due to following file (Line #163), apparently the variable “$verification_code” always remains empty and hence fails this. FILE: wp-content/plugins/wc-multivendor-membership/controllers/wcfmvm-controller-memberships-registration.php
The code getting failed is at line #158 ——> ” if( WC()->session && WC()->session->get( ‘wcfm_membership_email_verification_code’ ) ) ”
I also checked a thread (at: https://www.ads-software.com/support/topic/not-compatible-with-custom-woocommerce-session-handlers/) which seems to explain incompatibility of your plugin with WC sessions.
To verify this when I deactivated the CoCart plugin then the vendor registration process worked successfully.
You are requested to provide a patch in order to address this issue as it has broken the main feature of vendor registration of my site.
Thanks.
]]>I am still trying to fix the merge functionality… so now I tried to merge the cart in plain Javascript but that also does not work. Are you sure that this is not a bug?
Link to demo: https://playcode.io/878192/
Will it be helpful if I put the actual token in there? Let me know!
Greetings,
Julian
I am back again with another question. The merge feature is not working correctly for me in Flutter. The cart does get merged but the row does not get deleted in the database when using Flutter.
It only works when I merge the cart of a guest to a logged-in user in Postman. Then the row is removed in the CoCart table.
P.S. I updated all the WP plugins already
Do you have any idea why this is happening?
Thanks!
]]>Saya sedang coba develop headless woocommerce dengan memanfaatkan REST API dari Woocommerce. Pada saat saya mengambil daftar shipping methods, saya tidak bisa mendapatkan method_id
dari Woongkir yang bisa digunakan untuk create order karena method_id
nya mewakili Woongkir sementara yang saya butuhkan adalah method_id
yang mewakili kurir yang ada di Indonesia (seperti yang muncul pada saat checkout)
Saya juga sudah coba untuk menggunakan plugin CoCart Pro untuk mendapatkan daftar shipping methods tapi belum berhasil mendapatkan shipping methods dari Woongkir.
Apakah ada cara tertentu untuk mendapatkan shipping methods dari Woongkir? Mungkin ada teman-teman yang sudah pernah develop headless woocommerce dengan Woongkir, mohon di share pengalamannya
]]>I generate my own cart key with a random UUID (36 characters) in Flutter. Then I try to call the endpoint ‘add to cart’ in postman with this URL: https://websitename.com/wp-json/cocart/v2/cart/add-item?cart_key=74d18590-a5d8-11ec-9c30-2b53d1a7744e
The cart key : 74d18590-a5d8-11ec-9c30-2b53d1a7744e
It does return a cart with the item that I added, however… when I call the GET cart endpoint, the items 0. An empty array. The Get URL: https://websitename/wp-json/cocart/v2/cart/?cart_key=74d18590-a5d8-11ec-9c30-2b53d1a7744e
This GET endpoint returns a cart with no items. For both requests, no token is sent in the headers. The status is 200.
What am I doing wrong?
]]>We use your plugin for our android mobile app and with the mobile app, everything goes well.
Recently, after upgrade to Cocart’s last version ( 2.8.4 ) we faced some website issues , including add to cart issue(sometimes happen), cart clear accidentally,… in our website (not Application).
But after disabling the Cocart plugin the problem solve.
I mention our test website for future checks.
I just submit a ticket for your advice.
]]>