Title: Default shipping method
Last modified: October 5, 2022

---

# Default shipping method

 *  [lakriste](https://wordpress.org/support/users/lakriste/)
 * (@lakriste)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/default-shipping-method-5/)
 * Hello
    I have integrated Woocommerce and Vipps checkout on my site lakriste.no.
   I have two questions 1. How can I set a default shipping method. Is selects automatically
   local pick up as the first choise and the calculated shipment cost as the second.
   If you select the shipment method on the cart side and move to checkout you still
   have to select again. And when the override gets to local pickup I have to contact
   the customer and ask if this is what he/she has done intentionally. And in most
   cases it turns out wrong, they have selected the shipment cost. How can I address
   this. 2. When will you have the possibility to add the company name as a free
   field on the payment. There are some customer who would like to have the invoice
   on the company
 * all the best
 * Jo Bergsvand
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdefault-shipping-method-5%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Iver Odin Kvello](https://wordpress.org/support/users/iverok/)
 * (@iverok)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/default-shipping-method-5/#post-16072149)
 * 1. The default shipping method code is currently:
 *  a) If a shipping method has been chosen on the cart page or similar, this will
   be the default
    b) Otherwise, the cheapest shipping method available will be 
   the default, c) Except if the cheapest method is of the type “local_pickup”. 
   d) Local Pickup is only the default if it is either the only method, or if it
   was previously chosen on the cart page (and thus remembered in the users session).
 * If you have some code that sets the default shipping method, it will still be
   the default/chosen method in the Checkout screen.
 * There is a filter to modify this behaviour,
 *  `apply_filters('woo_vipps_default_shipping_method', $chosen, $shipping_methods,
   $order);`
 * 2. Unfortunately, this does not seem to be on the short-term horizon. The request
   has been forwarded to Vipps, but there are of course many things that need prioritizing.
 *  Thread Starter [lakriste](https://wordpress.org/support/users/lakriste/)
 * (@lakriste)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/default-shipping-method-5/#post-16078393)
 * Hello
    Thanks for your reply, If test my setup and selects a shipping method 
   with cost on my lakriste cart page I still have to select shipment method in 
   the VIPPS checkout. It selects as you descibe the cheapest choise, even though
   you have selected a shipment choise
 * I am not a programmer, I just want to use the standard programs
 * Jo
 *  Plugin Author [Iver Odin Kvello](https://wordpress.org/support/users/iverok/)
 * (@iverok)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/default-shipping-method-5/#post-16079599)
 * Normally the selected shipping method is set in the customers’ session/cart; 
   and this is where it is retrieved from in the Vipps Checkout screen. It does 
   work on my test instances, but I see it does not happen for you.
 * Additionally, you get the local pickup method even though this is supposed to
   be blocked.
 * There is presumably something special with your setup, but first:
 *  a) are you by any chance using the “static shipping” feature?
    b) is the local
   pickup alternative actually an instance of the “local pickup” shipping method,
   or is it an instance of “free shipping”?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Default shipping method’ is closed to new replies.

 * ![](https://ps.w.org/woo-vipps/assets/icon-256x256.png?rev=3025665)
 * [Pay with Vipps and MobilePay for WooCommerce](https://wordpress.org/plugins/woo-vipps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-vipps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-vipps/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-vipps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-vipps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-vipps/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Iver Odin Kvello](https://wordpress.org/support/users/iverok/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/default-shipping-method-5/#post-16079599)
 * Status: not resolved