LogoLogo
Back to PageFly.ioVideo Tutorials
English 🇺🇸
English 🇺🇸
  • PageFly Help Center
  • Getting Started
    • Overview
    • Quick start
      • How to Install PageFly
      • How To Use PageFly | Get started in 5 mins
      • How to Create a New Page from PageFly Templates
      • How can I access the PageFly LiveChat?
      • How PageFly work with your Shopify theme?
    • Pricing and billing
      • PageFly pricing plan
      • How PageFly billing work?
      • What happens if I uninstall PageFly?
      • PageFly refund policy
  • Pages & Sections Creation
    • Overview
    • General
      • Setting up PageFly Pages
      • What type of pages that PageFly support?
      • How to use PageFly pages and sections?
      • How to export and import PageFly pages and sections
    • Pages
      • How to create a Homepage with PageFly?
      • How to create a Product page with PageFly
      • How to create a Collection page with PageFly
      • How to create a Blog post page with PageFly
      • How to create a Password page with PageFly
      • How to create a FAQs page with PageFly?
      • How to create a Coming soon page with PageFly
      • How to create an About us page with PageFly
      • How to create a Contact Us page with PageFly
      • How to create a Landing Page with PageFly?
      • How to create A/B testing page with PageFly
    • Sections
      • How to use premade section and saved section to build page?
      • How to create a basic section with image and text
      • How to use parallax effect in a PageFly section?
      • How to create a full-width section in PageFly
      • How to make a sticky section without code in PageFly
  • Page Structure & Elements
    • Overview
    • Editor
      • User interface
        • How to work with PageFly editor?
        • How to work with PageFly on mobile?
        • Page Editor – Element Inspector
        • Page Editor - General Tab
        • Page Editor - Styling Tab
        • How to use Page outline to organize page layout?
        • How to make impressive mobile responsive page?
        • How to use autosave and version history ?
      • Extra Functions
        • How to manage custom option swatches for product variants?
        • How to use Global Styles to customize styles to use for all PageFly pages
        • How to use trash to manage deleted pages, sections, and media files?
        • How to Add Custom Font in PageFly
        • How to manage image and video in PageFly?
    • PageFly Elements
      • Universal Elements
      • Containers
        • Layout
        • Slideshow
        • Tabs
        • Accordion
        • Content List
      • Basic
        • Heading
        • Paragraph
        • Button
        • List
        • Icon
        • Divider
        • HTML/Liquid
      • Media
        • Image
        • Youtube video
        • Vimeo video
        • HTML video
        • Soundcloud
      • Social
        • Instagram feed
        • Facebook like & share
        • Facebook feed
        • Twitter feed
      • Advanced
        • QR code
        • Table
        • Countdown
        • Google map
        • Progress
        • Mailchimp form
    • Shopify elements
      • Custom Content
        • App blocks
      • Product
        • Product Variant Metafield
        • Product list
        • Product details
        • Product media
        • Product title
        • Product vendor
        • Product price
        • Product description
        • Product variant
        • Product quantity
        • Product Add to cart
        • Product view details
        • Product Metafield
        • Dynamic checkout button
      • Collection
        • Collection title
        • Collection image
        • Collection list
        • Collection view details
        • Collection details
        • Collection description
      • Form
        • Customer form
        • Customer form field
        • Customer form button
        • Contact form
        • Contact form field
        • Contact form button
        • Search form
      • Blog posts
        • Blog post list
        • Blog post details
        • Blog post image
        • Blog post title
        • Blog post content
        • Blog post meta
    • Optimization
      • How to use custom code editor to customize your page?
      • Page Analytics
      • How to speed up your Shopify store?
      • How to set up Facebook Pixel to understand the actions people take on website?
      • How to publish PageFly page to Shopify menu navigation?
      • How to use the Zakeke Product Customizer on PageFly pages?
      • How to use Langify to translate my page?
      • How to use Weglot to translate my pages?
      • How to use T Lab to translate PageFly’s page?
      • JSON Template with PageFly
      • How to Optimize Images with TinyIMG in the PageFly editor?
      • How to use Shoplift A/B Testing with PageFly?
      • How to use SEOAnt:AI SEO & Image Optimizer with PageFly?
      • Black Friday Sale Ideas
      • Optimize Pages for CRO with PageFly Elements
      • Optimize Sale On Valentines Day
      • How to set up Christmas Sale Page with PageFly | Best Guide in 2023
      • How to create a Flash sale section - Back to School
      • Optimize Your Store for Mother's Day: Create a Gift Guide with PageFly
    • Main Use Case
      • Align Elements on a Page
      • Direct to Links, Sections, Pop-ups
      • Edit Spacing, Margin and Padding
      • Flex Feature
      • Upload Files to Page
  • Integrations
    • Third-party Elements
      • How to activate integrated third party Shopify apps to use on your pages
      • What apps does PageFly integrate with?
      • Review & Rating
      • Upsell & Cross-sell
      • Badge & Seal
      • Appointment Booking
      • Delivery & Pickup
      • Subscriptions
      • Order Tracking
      • Upload Fields
      • Email Marketing
      • Product Information
      • Push Notifications
      • Referral & Affiliate Marketing
      • Image & Media
      • Loyalty & Rewards
      • Sustainability
      • Gifts
      • Internationalization
      • Advertising
      • Support
      • SMS Marketing
  • FAQ & Troubleshooting
    • Overview
    • FAQs
      • Issues with Shopify themes when using PageFly
      • How we comply with GDPR
      • The URL address of my page
      • PageFly Page editor - FAQs
      • Elements - FAQs
    • Troubleshooting
      • Live site issue
        • Cart Drawer does not Automatically Update
        • Responsive mobile horizontal scroll issue
        • YouTube, HTML Videos do not autoplay issue
        • Page not fully displayed in theme preview mode
        • Can't create locales file
        • Can't create theme.pagefly.liquid
        • How to hide Shopify's Default Product Details
        • PageFly Page List Won't Stop Loading
        • Remove the blank space on top of the page
        • Blog page not updated successfully
        • The page's style is broken
      • Error messages
        • PageFly Page List Won't Stop Loading
        • Page Size Limit
        • Limit elements on a page
        • Unable to import your data
        • Limit image size
        • Unknown error
  • Latest Update
    • PageFly is now compatible with Online Store 2.0
    • PageFly Referral Program
    • PageFly old pricing plan
  • PageFly Affiliate Program
    • Affiliate Success: Understanding what PageFly can do for Merchants
    • Affiliate Success: Dos & Don'ts - Everything to Know about Becoming a Successful PageFly Affiliate
    • Affiliate Success: Frequently Asked Questions
Powered by GitBook
LogoLogo

Product

  • Templates
  • Pricing
  • Happy Customer

Resource

  • Blog
  • Academy
  • Video Tutorials
  • Community
  • Feedback

Partners

  • Our Partners
  • Affiliate Program

Company

  • About Us
  • Careers
  • Privacy Policy
  • Terms of Service

Copyright © 2025 PageFly. All rights reserved.

On this page
  • About Dynamic Checkout Button
  • How To Access The Dynamic Checkout Button
  • How To Configure The Dynamic Checkout Button
  • Common Cases
  • Frequently Asked Questions

Was this helpful?

Edit on GitHub
  1. Page Structure & Elements
  2. Shopify elements
  3. Product

Dynamic checkout button

Last updated 1 day ago

Was this helpful?

About Dynamic Checkout Button

Summary: allows customers to quickly purchase a product they’re viewing without going through the cart. By clicking this button, customers skip the cart step and proceed directly to checkout using the payment method displayed on the button. The button dynamically changes based on the customer’s preferred accelerated checkout method.

Important Note: The Dynamic checkout button is only available for the Gen 2 editor in PageFly, which is exclusively available for stores using the Pay-as-you-go pricing model ().

There are two types of Dynamic checkout buttons:

  • Unbranded Button: This type displays simple text like "Buy it now". When customers click this button, they skip the cart and are taken directly to the Shopify Checkout.

  • Branded Button: This type displays the logo of a third-party accelerated checkout method, such as Paypal or Google Pay. When clicked, the customer completes their purchase using the branded checkout method displayed on the button.

Note: The Dynamic checkout button shows only the payment methods you’ve activated in your Shopify payment settings. If you haven’t enabled any third-party accelerated checkout methods, customers will only see the unbranded button.

The type of Dynamic checkout button shown to your customers depends on several factors:

  • Your payment settings (the methods you have activated).

  • The customer’s browser.

  • The customer’s device.

  • The customer’s personal payment history (such as past purchases made with Apple Pay or Google Pay).

How To Access The Dynamic Checkout Button

Before delving into the specifics, we recommend watching the video tutorial below

Important Note: The Dynamic checkout button must be placed under the Product details element to function properly.

In PageFly pages, follow these steps to access the Dynamic checkout button:

  • Step 1: Open the PageFly editor, and click on the Elements panel on the left-hand side.

  • Step 2: Switch to the Shopify tab, which contains Shopify elements.

  • Step 2: Click on the Dynamic checkout button element in the Production section.

  • Step 3: Drag and drop the element you want into the page editor and start using it.

How To Configure The Dynamic Checkout Button

Click the Dynamic checkout button and navigate to the General and Styling tabs to configure it.

General Settings

In the General tab, you can customize the text displayed on the Dynamic checkout button by entering your preferred text in the “Button text” field. For example, you can use “Buy It Now”.

Styling Settings

To customize the appearance of the Dynamic checkout button, select it and switch to the Styling tab. The level of customization available depends on the type of Dynamic checkout button in use.

Branded Dynamic Checkout Button

When the Dynamic checkout button displays with third-party branding (like Apple Pay or Google Pay), it will automatically match the brand’s style. Merchants cannot adjust the styling of these branded buttons.

Unbrand Dynamic Checkout Button

If the button is unbranded (meaning the conditions like your payment settings, Shop Promise, customer’s browser, device, or personal payment history aren’t met), you can fully adjust the styling of the Dynamic checkout button to match your store’s design.

Common Cases

Make Dynamic Checkout Button Full-width

Important Note: Gen 2 Editor Beta is now closed. Pages and sections created with Gen 2 Editor will remain fully functional. Enhanced version will be coming soon.

Here’s how to make the Dynamic checkout button full-width:

  1. Go to the Styling tab after selecting the button, then navigate to Size.

  2. Under the Width option, choose "Fill the container". This will make the button stretch across the entire width of its container.

Styling Not Adjustable For Branded Buttons

Branded Dynamic checkout buttons automatically display the brand’s styling for consistency, and these cannot be customized. To maintain a cohesive store design, focus on customizing other elements around the button, such as product images and background colors, to enhance the overall page look.

Dynamic Checkout Button Not Working

You must double-check to ensure the button is placed under the Product details element in PageFly, as it only works when correctly linked to a product.

Limitation With Multiple Product Variants

The Dynamic checkout button is designed for single variant purchases only. For example, a customer can buy two red T-shirts, but cannot buy one red and one blue T-shirt in the same transaction. To allow customers to purchase multiple variants, guide them to use the Add to Cart button instead. This ensures they can select multiple variants and proceed to checkout normally.

How To Create A Dynamic Checkout Button with Legacy Editor?

Alternatively, you can add a Dynamic Checkout Button by the custom code below. This method works for both Legacy editor and Gen 2 editor-built pages.

Watch this video to learn more about how to create the Buy It Now button in PageFly.

Please note that this only works inside the Product Details element (You have to add this into the Product Details element with the option Combined Variant turned on)

In this case, we need to use the **HTML/Liquid** element and add code into it. Please follow these steps below:

  • Step 1: Select “Elements" on the left sidebar

  • Step 2: Find and choose the “HTML/Liquid” element

  • Step 3: Drag and drop this element into the page editor

  • Step 4: Click on the Open Code Editor button in the General tab to open the HTML/ Liquid Code Editor

  • Step 5: Paste this code below into: {{ form | payment_button }}

You can check the gif below. Note that you need to publish to see the result.

Frequently Asked Questions

1. Does the Dynamic checkout button support discount codes?

Yes, customers can still apply discount codes when using the Dynamic checkout button during the checkout process. The discount field will appear on the checkout page, allowing customers to enter a code.

2. What happens if a customer’s preferred payment method isn’t available?

If the customer's preferred payment method isn’t enabled in your Shopify payment settings or isn’t supported by their device, an unbranded button will appear, allowing the customer to complete the purchase through Shopify’s standard checkout.

3. What third-party payment methods are supported by the Shopify Dynamic checkout button?

The Dynamic checkout button supports several third-party accelerated payment methods, including Amazon Pay, Apple Pay, Google Pay, PayPal, Shop Pay, and Venmo.

Whether is active, which prioritizes .

You can read more about the Shopify Dynamic checkout button .

For more detailed information on other settings in the General tab like Tracking, Attributes, Visibility, and Animation, refer to the .

You can check more information about the styling settings using .

In order to add the , you need to set up the Paypal in your Shopify store and then use the code above.

Shop Promise
Shop Pay
here
General settings guide
this guide
Paypal button
The Dynamic checkout button
slot plans