Great question — answering as the UphillTech team:
I haven't had a lot of experience with opencart, but AFAIK you don't need to use vqmod for opencart v2.3 or above. Plus, it's performance bottelneck and unpredictable. The index method of class ControllerCheckoutShippingMethod [ catalog/controller/checkout/shipping_method.php ] is responsible for generating all the shipping methods and putting them all inside the session. Opencart allows us to place an event right after this index method call and modify the final output. Create a module with the below content inside the install method and whatever else you wanna put it in there: <?php // admin/controller/extensions/module/mymodule.php public function install() {...
Full answer by Sumit Wadhwa: https://stackoverflow.stackexchange.com/a/54920228 (CC BY-SA 4.0).
Need it done for your business? UphillTech.