gocodebox / gocodebox/lifterlms

If the Terms and Conditions page is invalid, the link during checkout is incorrect / broken

Open
#2,803 0 comments 0 reactions 1 assignee Claimed by @ideadude View on GitHub
Dominant language
PHP
Stars
212
Forks
140
Avg merge
2d 14h
Merged PRs (30d)
19

Description

### Reproduction Steps

1. Set a "Terms and Conditions Page" in _LifterLMS > Settings_, Accounts tab.
2. Move the selected page to Trash (in Pages)

### Expected Behavior

Show a warning that the Terms and Conditions page is invalid

### Actual Behavior

There is no warning, the link is broken in checkout (if in Trash) or does not appear at all if the page is deleted permanently.

![CleanShot 2024-11-13 at 9  02 55@2x](https://github.com/user-attachments/assets/8a1fab29-5482-4e67-ae50-2bff662e6493)

This issue has be recreated:
+ [ ] Locally
+ [ ] On a staging site
+ [ ] On a production website
+ [ ] With only LifterLMS and a default theme

### Browser, Device, and Operating System Information

+ Browser name and version
+ Operating System name and version
+ Device name and version (if applicable)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.