Skip to content

"- undefined" displayed in checkout summary when shipping method name is not set #17492

@krzksz

Description

@krzksz

Sometimes it is the case that setting both Carrier title and Method name for a shipping method is redundant and having only the first one set it totally enough. Sadly, in the case of leaving Method name field blank there is a small visual bug displayed in checkout summary box.

Preconditions

  1. Magento 2.2.x, but any version may be affected
  2. Shipping method with empty Method Name set.

Steps to reproduce

  1. Add new or edit any existing shipping methods with Method name field left as a blank field.
  2. Add any product to the cart and go through the checkout to the last step.

Expected result

  1. Shipping method is displayed nicely.

Actual result

  1. There is a - undefined string displayed.

obraz

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: ShippingFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions