Leave the offer accept message

Are there any way I can leave the message that’s attached to the “accept offer” button?
After the offer is accepted. i.e. when the order is on processing.

Please share more details about this, do you mean a static text displayed in each offer block or something like the purchase note revealed only after the offer is paid?

I meant the static text which the vendor leaves when the vendor makes an offer.
In this case, “I can help you out”

I want to make this text visible somewhere for both vendor and customer, even after the offer is accepted and the order is processing.

Please try this PHP snippet but please note that it can require further customization as buttons Accept Offer and Delete Offer will be always visible too. If you are not familiar with the code customization then please consider hiring someone for custom work https://fvrr.co/32e7LvY

	function ($order_id, $old_status, $new_status, $order){
		// Check vendor.
		if ( ! $order->get_meta( 'hp_vendor' ) || !hivepress()->get_version( 'requests' ) ) {

		if ( in_array( $new_status, [ 'processing'], true ) ) {

			// Get request.
			$request = null;

			// Get product ID.
			$product_id = hivepress()->helper->get_first_array_value( hivepress()->woocommerce->get_order_product_ids( $order ) );

			if ( $product_id ) {

				// Get request ID.
				$request_id = wp_get_post_parent_id( $product_id );

				if ( $request_id ) {

					// Get request.
					$request = \HivePress\Models\Request::query()->get_by_id( $request_id );

			if ( $request ) {

				// Update request.
				if ( 'processing' === $new_status ) {
							'status' => 'publish',
					)->save( [ 'status', 'vendor' ] );

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.