Problem/Motivation

The documentation of hook_commerce_checkout_page_info states that the name property of a checkout page is [...] used in administrative displays and the page’s corresponding order status. However, on the checkout settings the page title is shown instead of the name.

I have a use-case where I'd like to use the same title for the front-end, yet in the administrative interface the two pages need to be distinguishable.

without patch
with patch

Proposed resolution

Adapt the implementation to match the docs (and expectations) and use the name property instead of the title on the checkout settings page.

Remaining tasks

User interface changes

API changes

Comments

znerol’s picture

Issue summary: View changes
znerol’s picture

Issue summary: View changes
znerol’s picture

StatusFileSize
new2.27 KB

Actually forgot to upload the patch.

joelpittet’s picture

Status: Needs review » Reviewed & tested by the community

This seems very reasonable as the API indicates.

bojanz’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thank you.

  • bojanz committed 38347fc on 7.x-1.x authored by znerol
    Issue #2336793 by znerol: Use page title property instead of name on...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.