Improve "no shipping rates" message.

Created on 10 September 2024, 3 months ago
Updated 19 September 2024, 2 months ago

Problem/Motivation

Currently, if there are no valid shipping rates (no shipping method conditions apply). A simple markup text is returned:

There are no shipping rates available for this address.

This is displayed as simple markup, and there is currently no way to easily apply custom styling to it. Also there is no default styling, while this should typically look at least like a warning, as it's important information (and the reason why you may not proceed!).

Furthermore the Drupal error message, if you try to proceed is not self-explaining:

1 error has been found: Shipping method

Steps to reproduce

Proposed resolution

Use a proper render element and give it some easily identifiable class.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇩🇪Germany Grevil

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024