At the bottom of each order page, there are options to manage the order, such as contacting the vendor, disputing the order, and completing it. When the user clicks on the “Complete” option, a dialogue box appears.
I want to add a button that says “Send message to vendor” using the better messages plugin which I have integrated successfully following this guide by @andrij
However, I couldn’t find anything related to this feature in the hooks or developer documentation of hivepress. Is it possible to add this button, or did I miss something?
The standard HivePress Messages is hidding the button when the order status is not equal to processing, so I replicated the same logic for the Better Messages button, but its possible to overwrite Better Messages logic with PHP
@andrij hi can you add priority order arrangement in BM setting for hivepress,
something like '_order' => 99,
message button shouuld be at the end not the first,
When there are many buttons on the order page, other important buttons become invisible
that why message button should be at the end