The file structure of each theme can be unique; therefore, some knowledge of Stencil development may be required to render wallet buttons. The examples in this article use the Cornerstone theme.
This article explains how to add wallet buttons to the Product Detail Page, or PDP. Cornerstone 6.7.0+ supports wallet buttons by default; however, you can upgrade older themes to support wallet buttons by following the steps outlined in this article.
Wallet buttons are always available to the customer except in the following cases:
By default, wallet buttons are not enabled on the PDP. To add wallet buttons, you must first prepare your theme by adding a checkbox to Page Builder. The checkbox allows the merchant to control the display of wallet buttons on the PDP on your store. Perform the following steps to add the checkbox:
config.json, add a show_quick_payment_buttons property and provide a default value.To turn on this feature by default, set "show_quick_payment_buttons": true.
schema.json:In Page Builder, the checkbox appears as follows:

To set the number of wallet buttons visible on the product page, perform the following steps:
config.json, add a paymentbuttons-number-of-buttons property and provide a default value.If the paymentbuttons-number-of-buttons property is not defined, only one button will be shown. The customer will have access to any other buttons by clicking More payment options.
schema.json:In Page Builder, the dialog appears as follows:

Adding a sorting features allows merchants to choose the order in which wallet buttons appear to shoppers. To add a sorting feature, perform the following steps:
config.json, add a paymentbuttons-provider-sorting property and provide a default value.schema.json:Adding “heading” for a section can be skipped if it was added before.
In Page Builder, the dialog appears as follows:

To render wallet buttons, you must perform the preceding steps described in this article. Add wallet buttons, set the quantity of buttons, and sort the buttons as desired, then insert the following code underneath the Add to Cart button on the PDP.
Additional steps may be required depending on your theme’s setup.
The wallet buttons appear on the PDP as follows:

In themes below version 6.7, you need to perform another step to make wallet buttons work as expected. After you enter the preceding code snippet, insert the following code into your theme markup: