Relative Content

Tag Archive for woocommercehook-woocommercewoocommerce-rest-api

Woocommerce Update Cart Validation (Blocks / AJAX)

I need to display a message to a customer when the quantity exceeds a certain calculation. I would like to make this fail validation and post a message. I can do so with add to cart validation, but I can never get a message to display in woocommerce blocks when putting a notice in, what is the proper way to do this?

Woocommerce Update Cart Validation AJAX Fail

I need to display a message to a customer when the quantity exceeds a certain calculation. I would like to make this fail validation and post a message. I can do so with add to cart validation, but I can never get a message to display in woocommerce blocks when putting a notice in, what is the proper way to do this?