XF 2.1 Customizing specific user upgrade message after purchase

Ludachris

Well-known member
Let's say you have 3 user upgrade options and you want to edit the messaging for each one to have a different message after purchase - I found the "account_upgrade_purchase" template, but how would you structure a conditional to wrap the text for each message? Example, IF "Upgrade 1" was purchased, show this text, else if Upgrade 2, show this text, etc, etc.

Code:
{{ phrase('thank_you_for_purchasing_this_upgrade') }}
 

Brogan

XenForo moderator
Staff member
I don't really understand what you're asking.

Admins have access to the payment provider log, if that's what you mean: admin.php?logs/payment-provider/
 

Ludachris

Well-known member
I don't really understand what you're asking.

Admins have access to the payment provider log, if that's what you mean: admin.php?logs/payment-provider/
Sorry @Brogan, I'm referring to viewing the front end page that the user would see after they complete the user upgrade. The page that displays the "account_upgrade_purchase" template. Is there a URL for that page like "https://www.website.com/account/upgrades?success" or something to that effect?
 
Last edited:
Top