index-shop/assets/css/template/shop/_thanks.scss
isUnknown 1aa64a7396
All checks were successful
Deploy / Deploy to Production (push) Successful in 7s
Add thank you page and fix webhook stock update
- Create thank you page template with bilingual content (FR/EN)
- Add automatic redirect to /thanks after successful payment
- Fix webhook: move kirby()->impersonate() before product update
- Add error handling in webhook with try-catch
- Pass order token to thank you page for future enhancements
- Update thank you page styling for better UX

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-19 17:37:34 +01:00

38 lines
716 B
SCSS

[data-template="thanks"] {
.thanks-page {
min-height: 60vh;
display: flex;
align-items: center;
justify-content: center;
padding: calc(var(--spacing) * 4) var(--spacing);
}
.thanks-content {
text-align: center;
max-width: 600px;
h1 {
font-size: var(--fs-x-big);
margin-bottom: calc(var(--spacing) * 2);
}
.thanks-message {
font-size: var(--fs-big);
margin-bottom: calc(var(--spacing) * 3);
line-height: 1.6;
p {
margin-bottom: var(--spacing);
}
}
.thanks-actions {
margin-top: calc(var(--spacing) * 3);
}
}
#site-footer {
border-top: none;
margin-top: calc(var(--spacing) * 4);
}
}