Skip to content

Ensures that no extra comma shows in address display - #3337

Open
robindevitt wants to merge 1 commit into
gocodebox:devfrom
robindevitt:issue/3020
Open

Ensures that no extra comma shows in address display #3337
robindevitt wants to merge 1 commit into
gocodebox:devfrom
robindevitt:issue/3020

Conversation

@robindevitt

@robindevitt robindevitt commented Aug 26, 2026

Copy link
Copy Markdown

Description

Ensures that no extra comma shows in address display if there's no state/region/province

Fixes #3020

How has this been tested?

Manually. Purchased a plan for a course or membership, using a country that does not require a state/region/province/etc (ie. Ivory Coast)

Screenshots

Screenshot 2026-08-26 at 09 16 12

Types of changes

Rather than rendering out the empty value causing there to be extra commas. The address fields are set into an array and then using implode to comma seperate them.

Checklist:

  • This PR requires and contains at least one changelog file.
  • My code has been tested.
  • My code passes all existing automated tests.
  • My code follows the LifterLMS Coding & Documentation Standards.

@robindevitt
robindevitt requested a review from brianhogg as a code owner August 26, 2026 07:17
@brianhogg brianhogg moved this to Awaiting Review in Development Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Awaiting Review

Development

Successfully merging this pull request may close these issues.

2 participants