Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove links to package ABO to force redirect to new shop #993

Merged
merged 4 commits into from
Jan 14, 2025

Conversation

ovbm
Copy link
Contributor

@ovbm ovbm commented Jan 9, 2025

apps/www/components/Account/Memberships/Manage.js
Users with yearly abo and monthly abo are now directed to shop when they click on "Jahresmitgliedschaft kaufen" button *needs to stay with ABO since we can't upsell new packages yet

apps/www/components/Frame/ProlongBox.js
The Prolongbox links to the new shop if the membership that is expiring can't be prolonged (yearly_abo for example) !membership.canProlong

apps/www/pages/teilen.js
The hard coded paynote on the teilen page now links to the new shop overview for both monthly and yearly

@ovbm ovbm requested a review from jstcki January 9, 2025 11:11
Copy link

vercel bot commented Jan 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
staging-republik-love ✅ Ready (Inspect) Visit Preview Jan 9, 2025 3:55pm

Copy link
Contributor

@jstcki jstcki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YES – we could even link directly to ${process.env.NEXT_PUBLIC_SHOP_BASE_URL}/angebot/YEARLY (or MONTHLY or just the overview or whatever)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants