Enabling Subscription Display
The extension can list all subscriptions for the authenticated user.
Setting up the subscription page involves the following tasks:
Assigning Subscription Page
You must add the ONBSE1.Subscriptions Visualforce page to your site to expose the subscription display.
Open the Site Details of your site.
Sitesin the Quick Find box, or navigate to User Interface > Sites and Domains > Sites. In the Sites list, click the label of the site to open its details.
In the Site Visualforce Pages section, click Edit.
- Add the ONBSE1.Subscriptions page.
- Click Save.
Adjusting Subscription Page Labels
The Visualforce pages packaged with the JustOn Self-Service Extension make use of custom labels. The custom labels can contain up to 1000 characters and can include HTML markup.
You can overwrite the custom labels to adjust them to the needs of your business use cases.
To modify custom labels, you must enable the Translation Workbench. For details, see Enable and Disable the Translation Workbench in the Salesforce Help.
The subscription page uses the following custom labels:
To modify them:
In Setup, open the Custom Labels list.
In Salesforce Lightning, navigate to User Interface > Custom Labels.
In Salesforce Classic, navigate to Create > Custom Labels.
Click the name of the label you want to modify.
To better find the relevant labels, create a filter for the namespace
Click New Local Translations/Overrides.
- Select the target language and specify the text as required.
- Click Save.
For help about modifying custom labels, see Create and Edit Custom Labels in the Salesforce Help.
Set the locale in the global settings in order to select the intended translation.
Using the shopping cart functionality of the product page, users are redirected to the subscription page after checkout. In this case, the subscription page displays a "welcome message", which is empty by default. If you use the shopping cart functionality, you must therefore provide content to the custom label SubscriptionsWelcomeMessage.