Use a theme function for rendering "there is no shipping rate"

Created on 2 August 2024, about 1 year ago
Updated 20 September 2024, about 1 year ago

Problem/Motivation

In the shipping information pane, we display the available rates.
When no rates are available for the chosen address, there is a text displayed.
This text "There are no shipping rates available for this address." is not overridable easily (without overriding the whole plugin).

Proposed resolution

Use a theme function for rendering this text, so themes can easily override it and style it.

Remaining tasks

Define a theme function, a template, replace the markup with the proper render array.

User interface changes

None

API changes

None

Data model changes

None

โœจ Feature request
Status

RTBC

Version

2.0

Component

Code

Created by

๐Ÿ‡ซ๐Ÿ‡ทFrance Renrhaf ๐Ÿ“ Strasbourg ๐Ÿฆ๐Ÿฆœ

Live updates comments and jobs are added and updated live.
  • theming

    Used in Documentation issues related to theming

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024