shipping->get_shipping_methods(); foreach ($methods as $method) { add_filter('woocommerce_shipping_instance_form_fields_' . $method->id, array($this, 'suggest_shipqora'), 100000); } } /** * Add new field below shipping method settings * * @return array */ public function suggest_shipqora($settings) { $settings['suggest_shipqora'] = array( 'title' => '', 'default' => '', //Don't remove this one. Otherwise system will show error 'type' => 'shipqora_plugin', ); return $settings; } /** * Output new field below the shipping method settings * * @return string */ public function shipqora_output() { require_once ABSPATH . 'wp-admin/includes/plugin.php'; $shipqora_plugin = 'shipqora/shipqora.php'; ob_start(); ?>
Unlock complete control over your checkout experience with ShipQora, the ultimate all-in-one shipping engine designed to build advanced dynamic pricing, custom rate adjustments, and powerful restrictions in real time.
Key Features:
Product-Based Shipping Cost (Alternative of Advanced Shipping Cost), Hide Current Shipping Methods, Hide Other Shipping Methods, Hide Payment Methods, Shipping Cost Adjustment and Cart-Based Shipping Cost.