[feature] Allow authors to add third-party shipping methods to vendor’s zones
-
Hello. I’m authoring a shipping method and got stuck one very small detail.
In the file
wcfm-script-wcfmmarketplace-settings.js
there’s a functioneditShippingMethod
bound to the pop-up’s “submit-ish” button responsible for sending the shipping method data to the back-end to save it.
It turns out you can’t hook the data sent to the back-end. Trigering an event to manipulate thedata.args
object would suffice:jQuery( document.body ).trigger( 'wcfm_method_args', data.args );
BTW I have other three plug-ins that could take advantage of that.
Best regards.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[feature] Allow authors to add third-party shipping methods to vendor’s zones’ is closed to new replies.