Mix and Match Products Supported

Another great WooCommerce extension now supports CoCart. It’s called Mix and Match Products and it’s also developed by Kathy Darling. I was happy to help with it’s development and guide Kathy adding support for the REST API.

If your selling cases of wine, dozen donuts, fruit baskets or even a six-pack of T-shirts. Mix and Match is ideal for offering similar products in bulk containers. Perfect for encouraging customers to buy in bulk without forcing them to buy items that don’t interest them.

Now you can support these bulk product types in your headless store.

View the CoCart documentation to see how you can add a Mix and Match Product to the cart from your customers selection.

I’ve developed a WooCommerce extension

That’s great. Always looking to support more WooCommerce extensions. If your extension provides a new product type or extends with new product features that requires support in CoCart, I look forward to helping you out.

A boilerplate is available to give you a head start.

CoCart v2.2.0 is now available!

June has been a busy month both in the world and development for CoCart.

Finally got guest customers supported and 5 small releases that provided fixes along the way that ensured 100% compatibility with WooCommerce’s latest release and conflicts found on the frontend.

I now have one WooCommerce extension officially supporting CoCart and another on the way.

Feedback again has been tremendous and your constant support towards me so that I am able to provide you what I need has been a great help. ?

It’s especially nice to see customers donating more for the constant updates I have been giving. If you like to give, you can support me by buying me a coffee or simply purchase CoCart Pro while it is on sale until the end of June.

Today I have released v2.2.0 which is a minor release (which means everything is backward compatible with the previous version) that adds support for CORS headers should you need them set and a few tweaks to the plugin just to make it a little bit better.

As always, I recommend creating a backup of your site before updating.

Enjoy!

Changelog

  • NEW: Support for allowing all cross origin header requests to pass. Requires cocart_disable_all_cors filter set to false to enable.
  • NEW: Returned response after adding an item now returns product name, title and price just like the cart.
  • Tweaked: Improved validation for a variable product to return the product name correctly if variation attributes are missing.
  • Tweaked: Made sure that we check if we are making a request for CoCart API only.
  • Tweaked: CoCart logger will only log if WP_DEBUG is also set true.
  • Dev: New filters added for returning additional item data once added to cart.

Name Your Price Supported

With the improved support for handling products in CoCart, it is easier for developers to add support in their WooCommerce extensions that provide extra product data or options for customers.

With that I am happy to announce that a popular WooCommerce extension called Name Your Price developed by Kathy Darling has become the first official extension to integrate support for CoCart within their plugin as of v3.1.0

This is a great first step in providing CoCart developers the same frontend options via the REST API and it works as advertised.

All that was required was some tweaking to the method used for handling error responses and validating the customers requested price.

I won’t say it was an easy process but one I was able to help develop with the plugin creator.

Documentation provides details on how to accept customers requested price.

I have created a page that lists supported WooCommerce extensions.

More extensions are being evaluated and are in development to add support. They will either be in future updates of CoCart Pro or provided within the extensions themselves.

If you have a WooCommerce extension that provides new product features that requires support in CoCart, I look forward to helping you out.

A boilerplate is available to give you a head start.

I look forward to sharing more extensions supporting CoCart in the future.

CoCart v2.1.2 Release Candidate 5

Final release candidate for v2.1.2 introducing support to prevent caching CoCart if you have WP REST API Cache plugin installed.

Testing has been going well so I am confident to release on the 4th June, 2020

Changelog

* NEW: Prevent CoCart from being cached with [WP REST API Cache plugin](https://wordpress.org/plugins/wp-rest-api-cache/).
* Tweaked: Check if product exists first before validating further.
* Tweaked: `cocart_update_cart_validation` filter passes `$current_data` fully.
* Tweaked: If validation for adding or updating item returned an error return error response.
* Dev: Added schema for cart route.
* Dev: Added schema for adding item route.
* Dev: Passed `$product_type` for `cocart_add_cart_item_data` filter.

If you discover any bugs during the testing process, please let me know by logging a report in GitHub.

Look forward to your feedback.

Thank you.

?

CoCart v2.1.2 Release Candidate 4

Changelog

Another minor release candidate that adds more validation. This time for when an item is updated.

Fixed: Cart removes items correctly if the product is no longer purchasable when cart contents is fetched.
Tweaked: Update item now validates if the product is sold individually to prevent item from updating if true.
Dev: Added filter cocart_update_cart_validation to allow plugin developers to pass their own validation before item is updated in the cart.

If you discover any bugs during the testing process, please let me know by logging a report in GitHub.

Look forward to your feedback.

?