Sébastien Dumont
Forum Replies Created
-
Forum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] CoCart Plugin V4 CORS errorIt is a known issue that I am working to resolve. Hope to have a patch out soon.
Forum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] Items not showing in the cartWould you be able to replicate what you did in a video? That way I can see what steps you did.
Forum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] Items not showing in the cartWhen authenticated you don’t use the cart key as the session already knows which cart to load based on the user you connected with. However, if you started as a guest and then authenticated, then only one time, would you need to use the cart key in order to migrate the cart contents to the authenticated user.
Can you see if you get 1 item in this guest cart on your end?
curl --location --request GET 'https://greyguminternationalcafe.com.au/wp-json/cocart/v2/cart?cart_key=75c5d5e3102496bb0d5d94e45325f5'Forum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] Items not showing in the cartUsing Postman with no authentication, I was able to add a product to the cart and got the cart response providing me the cart key and the item I just added in the cart. I then did a request to get the cart again using the cart key and it returned the same results.
Where you only making requests with no authentication?
Forum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] Items not showing in the cartCan you share your WooCommerce System Status info “unedited”?
Correct.
For a registered customer they will have to login again.
No CoCart does not support auto login.
Did the experimental plugin help?
I just released a patch that may help you but as you said this was happening before 4.2 so I will have to look into this more in terms of support.
You can try this experimental plugin I did some time ago to help sync guest carts but I have not looked at it in a while. Appreciate feedback.Could you disable CoCart and run the steps again to check it’s not an issue with WooCommerce or the gateway. I ask because once the cart has loaded, using the native checkout is handled via WooCommerce from then on. Clearing the cart is always handled by the payment gateway once it has confirmed the order is processing or completed.
FYI: I have tried ordering with bank, cash in person and Stripe using the new block checkout. Cart cleared every time after.
OK. What payment gateway did you make the order with and do you have others?
- Classic checkout or new block checkout?
- If you rolled back a version of CoCart does it still not clear the cart?
Filtering products by brands is on the roadmap. Announcing support for it with CoCart Plus soon. ??