[RSS Feed/News] Placing a user upgrade payment button in custom areas?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I want to make my own user upgrade page. Is it possible to add the same payment buttons from account_upgrades on a custom page?

Something simple like taking the default code but giving it specific upgrade IDs so I can reuse it for multiple buttons and place them where I want to in my HTML.

Code:

Code:
<xf:form action="{{ link('purchase', $upgrade, {'user_upgrade_id': $upgrade.user_upgrade_id_5}) }}" ajax="true" data-xf-init="payment-provider-container">
    <div class="inputGroup">
        <xf:if...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom