• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

how to configure buy button?

KonstantinZ

New Pleskian
hello,

we have standalone version of wpb
I need to configure buy&publish dialog that buy button redirect to some url.
At docs there is written:
You can customize this dialog to include any text you want, and configure the Buy button
to redirect the user to your online store or a billing system.
This can be done by means of the API. This is described in the section Configuring the Buy and Publish Dialog Window
(on page 31).
but on page 31 there is no any description how to do this "configure the Buy button to redirect the user"

Currently pressing this button brings popup with message "Upselling is not configured yet."
 
selfreply:

1) go to /usr/local/sb/resources/locale/*/
2) cp tbbMessagesDefault.lng tbbMessagesCustom.lng
3) edit tbbMessagesCustom.lng, find last message upsellDialogMsg and update it as needed.

ps. suggest to add this info to manual.
 
Back
Top