Aggiunge la garanzia Soddisfatti o rimborsati di 30 giorni su prezzi, homepage e Termini.

Riduce il rischio percepito all'acquisto (Light e Full) e chiama l'archivio replay in modo orientato all'utente, senza cambiare prezzi o logica dei piani.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-31 19:27:28 +02:00
co-authored by Cursor
parent 1185d0ce61
commit 356aa28fad
30 changed files with 441 additions and 17 deletions
+12 -1
View File
@@ -1,4 +1,4 @@
<%# locals: (club: nil, entitlements: nil, subscription: nil, current_plan_slug: nil, show_stripe_portal: false) %>
<%# locals: (club: nil, entitlements: nil, subscription: nil, current_plan_slug: nil, show_stripe_portal: false, show_guarantee_banner: nil) %>
<% club ||= @club %>
<% entitlements ||= @entitlements %>
<% subscription ||= @subscription %>
@@ -69,6 +69,9 @@
<% if plan.slug == "premium_full" %>
<p class="plan-staff-note"><%= t("pages.plans.staff_note_full") %></p>
<% end %>
<% first_purchase = !billing_mode || action&.fetch(:kind, nil).in?(%i[checkout_options bank_only quoted]) %>
<% show_cta_guarantee = plan.slug.in?(%w[premium_light premium_full]) && first_purchase %>
<div class="plan-card__cta">
<% if billing_mode %>
<% action_kind = action[:kind] %>
<% quote = club&.active_billing_quote %>
@@ -131,6 +134,14 @@
<% end %>
</div>
<% end %>
<% if show_cta_guarantee %>
<%= render "shared/refund_guarantee", variant: "compact" %>
<% end %>
</div>
</div>
<% end %>
</div>
<% if local_assigns.fetch(:show_guarantee_banner) { !billing_mode || current_slug.to_s == "free" } %>
<%= render "shared/refund_guarantee", variant: "pricing" %>
<% end %>