• 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 to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Iver Odin Kvello

    (@iverok)

    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

    (@lakriste)

    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

    (@iverok)

    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.