Not possible to nullify the shipping method

Created on 5 April 2023, about 2 years ago

Problem/Motivation

It is currently not possible to nullify the shipping method, probably because of the following code:

if (!empty($rate_id)) {
      $this->applyShippingRateToShipments($order, $rate_id);
    }

I'm not 100% sure we should allow this as this could allow someone to place an order without shipping though this should potentially be handled by validation / transition guards.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇱Israel jsacksick

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024