测试动态结账按钮

客户看到的动态结账按钮类型取决于以下因素:

  • 收款设置

  • 客户的浏览器

  • 客户的设备

  • 客户的个人付款历史记录

您可以测试动态结账按钮以了解客户将有可能看到的所有不同配置。在测试动态结账按钮之前,请确保您将它们添加到您的在线商店。

步骤:

PC:

  1. 在 Shopify 后台中,转到在线商店 > 模板

  1. 点击查看您的商店

  2. 若要测试产品页面上的按钮,请转至产品页面。若要测试特色产品部分中的按钮,请停留在主页。

  3. 在浏览器的地址栏中,将以下任一字符串添加到当前 URL 的末尾,然后按 Enter 重新加载页面:

Amazon Pay - ?shopify-debug=true&show=Amazon - Apple Pay(仅适用于 Safari)- ?shopify-debug=true&show=ApplePay - Google Pay - ?shopify-debug=true&show=Google - PayPal - ?shopify-debug=true&show=PayPal - Venmo - ?shopify-debug=true&show=Venmo - 无品牌 - ?shopify-debug=true&show=checkout

例如,用于测试 Amazon Pay 的动态结账按钮的 URL 可能如下所示: https://mystore.myshopify.com/products/myproduct?shopify-debug=true&show=Amazon

  1. 重复此步骤,针对其他付款方式测试动态结账按钮。

苹果系统:

  1. 在 Shopify 应用中,轻触商店

  2. 销售渠道部分,轻触在线商店

  3. 轻触管理模板

  1. 点击查看您的商店

  2. 若要测试产品页面上的按钮,请转至产品页面。若要测试特色产品部分中的按钮,请停留在主页。

  3. 浏览器的地址栏中,将以下任一字符串添加到当前 URL 的末尾,然后按 Enter 重新加载页面:

Amazon Pay - ?shopify-debug=true&show=Amazon - Apple Pay(仅适用于 Safari)- ?shopify-debug=true&show=ApplePay - Google Pay - ?shopify-debug=true&show=Google - PayPal - ?shopify-debug=true&show=PayPal - Venmo - ?shopify-debug=true&show=Venmo - 无品牌 - ?shopify-debug=true&show=checkout

例如,用于测试 Amazon Pay 的动态结账按钮的 URL 可能如下所示: https://mystore.myshopify.com/products/myproduct?shopify-debug=true&show=Amazon

  1. 重复此步骤,针对其他付款方式测试动态结账按钮。

安卓系统:

  1. 在 Shopify 应用中,轻触商店

  2. 销售渠道部分,轻触在线商店

  3. 轻触管理模板

  1. 点击查看您的商店

  2. 若要测试产品页面上的按钮,请转至产品页面。若要测试特色产品部分中的按钮,请停留在主页。

  3. 在浏览器的地址栏中,将以下任一字符串添加到当前 URL 的末尾,然后按 Enter 重新加载页面:

Amazon Pay - ?shopify-debug=true&show=Amazon - Apple Pay(仅适用于 Safari)- ?shopify-debug=true&show=ApplePay - Google Pay - ?shopify-debug=true&show=Google - PayPal - ?shopify-debug=true&show=PayPal - Venmo - ?shopify-debug=true&show=Venmo - 无品牌 - ?shopify-debug=true&show=checkout

例如,用于测试 Amazon Pay 的动态结账按钮的 URL 可能如下所示: https://mystore.myshopify.com/products/myproduct?shopify-debug=true&show=Amazon

  1. 重复此步骤,针对其他付款方式测试动态结账按钮。

Shopify商户官网原文详情:

Testing your dynamic checkout buttons

The kind of dynamic checkout button that your customers see depends on the following factors:

  • your payment settings

  • the customer's browser

  • the customer's device

  • the customer's personal payment history

You can test your dynamic checkout buttons to see all the different configurations that your customers might see. Before you test your dynamic checkout buttons, make sure that you add them to your online store.

Steps:

PC:

  1. From your Shopify admin, go to Online Store > Themes.

  1. Click View your store.

  2. To test the button on a product page, go to a product page. To test the button on a featured product section, stay on the home page.

  3. In your browser's address bar, add one of the following strings to the end of the current URL, and then press Enter to reload the page:

    For example, the URL to test the dynamic checkout button for Amazon Pay might look something like this: https://mystore.myshopify.com/products/myproduct?shopify-debug=true&show=Amazon

    • Amazon Pay - ?shopify-debug=true&show=Amazon

    • Apple Pay (Safari only) - ?shopify-debug=true&show=ApplePay

    • Google Pay - ?shopify-debug=true&show=Google

    • PayPal - ?shopify-debug=true&show=PayPal

    • Venmo - ?shopify-debug=true&show=Venmo

    • Unbranded - ?shopify-debug=true&show=checkout

  4. Repeat to test dynamic checkout buttons for other payment methods.

iPhone:

  1. From the Shopify app, tap Store.

  2. In the Sales channels section, tap Online Store.

  3. Tap Manage themes.

  1. Click View your store.

  2. To test the button on a product page, go to a product page. To test the button on a featured product section, stay on the home page.

  3. In your browser's address bar, add one of the following strings to the end of the current URL, and then press Enter to reload the page:

    For example, the URL to test the dynamic checkout button for Amazon Pay might look something like this: https://mystore.myshopify.com/products/myproduct?shopify-debug=true&show=Amazon

    • Amazon Pay - ?shopify-debug=true&show=Amazon

    • Apple Pay (Safari only) - ?shopify-debug=true&show=ApplePay

    • Google Pay - ?shopify-debug=true&show=Google

    • PayPal - ?shopify-debug=true&show=PayPal

    • Venmo - ?shopify-debug=true&show=Venmo

    • Unbranded - ?shopify-debug=true&show=checkout

  4. Repeat to test dynamic checkout buttons for other payment methods.

Android:

  1. From the Shopify app, tap Store.

  2. In the Sales channels section, tap Online Store.

  3. Tap Manage themes.

  1. Click View your store.

  2. To test the button on a product page, go to a product page. To test the button on a featured product section, stay on the home page.

  3. In your browser's address bar, add one of the following strings to the end of the current URL, and then press Enter to reload the page:

    For example, the URL to test the dynamic checkout button for Amazon Pay might look something like this: https://mystore.myshopify.com/products/myproduct?shopify-debug=true&show=Amazon

    • Amazon Pay - ?shopify-debug=true&show=Amazon

    • Apple Pay (Safari only) - ?shopify-debug=true&show=ApplePay

    • Google Pay - ?shopify-debug=true&show=Google

    • PayPal - ?shopify-debug=true&show=PayPal

    • Venmo - ?shopify-debug=true&show=Venmo

    • Unbranded - ?shopify-debug=true&show=checkout

  4. Repeat to test dynamic checkout buttons for other payment methods.

文章内容来源:Shopify商户官方网站