Support » Plugin: WC Pickup Store » Put pick up from store before other shipping options

  • danielflame


    I have other shipping options on my site. But I want the “pick up from store” option to be the first shipping option before the others. Please how can I achieve it.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Keylor Mendoza


    Hello @danielflame

    I’ve made a snippet that might work for you. I haven’t tested it well, but I hope it solves your doubt

    add_filter('woocommerce_shipping_methods', function($methods) {
    	$new_order['wc_pickup_store'] = $methods['wc_pickup_store'];
    	return array_merge($new_order, $methods);


Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.