ThemeHigh
  • Plugins
  • Documentation
  • Support
  • Partners
  • Login
  • Getting started Paypal
    • Setup Guide – Payment Gate...
    • Set Up PayPal Direct Credit Card...
    • Accept PayPal Payments Using Pay...
    • Accept PayPal Payments using Pay...
  • Subscriptions
    • Configure PayPal Subscription Pa...
  • Customizations
    • Customize PayPal Credit/Debit Ca...
    • Adding a PayPal Express button o...
  • Whats New?
    • Configuring Webhooks for WooComm...
    • PayPal: Alternative Payment Meth...
  • Issue Refund
    • Manage PayPal Refunds in WooComm...
  • Switching CheckOut Pages
    • Switching to Classic Checkout in...
  • Troubleshooting Guide
    • Trouble Shooting Guide...

Documentation/PayPal Payment Gateway WooCommerce/Adding a PayPal Express button on WooCommerce Custom Pages

Adding a PayPal Express button on WooCommerce Custom Pages

Last updated on October 28, 2025

The PayPal Express Checkout payment gateway for the WooCommerce plugin lets you add PayPal express buttons to product, cart, and checkout pages by default. However, if you want to show these payment buttons on custom pages, you can easily do so using the available short-code.

PayPal Express Button

Shortcode to insert the PayPal Express button

To insert PayPal Express buttons for simple products into your custom pages, use the following shortcode format:

When you use this shortcode on your custom page, substitute “product id” with the real product ID and “number of quantity” with the preferred quantity of the product.

The shortcode for inserting the PayPal express button for variable products is provided below:

In this scenario, substitute “product id” with the actual product ID, “number of quantity” with the quantity, and “variation id” with the specific variation ID for the product and variation you wish to show on your custom page.

Sample demo

Follow these steps to add the shortcode and link it to the appropriate product and settings to show a PayPal checkout button on your custom page:

  1. Modify the custom page where you intend to include the PayPal Express button.
  2. Edit the custom page where you plan to add the PayPal Express button.

Shortcode for PayPal checkout button

On this page

  • Shortcode to insert the PayPal Express button
  • Sample demo

This article posted in Customizations, PayPal Payment Gateway WooCommerce, Pro Documentation

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

ThemeHigh

We develop innovative WordPress plugins and themes for e-commerce and other WordPress websites.

Resources
  • Documentation
  • Support
  • Blog
  • Bestsellers
  • Affiliates
  • Partners
Policy Information
  • Terms & Conditions
  • Privacy Policy
  • Support Policy
  • Refunds Policy
  • Licenses
Security
Payment Options

© 2026 ThemeHigh. All rights reserved.

Terms and conditions, features, support, pricing, and service options subject to change without notice.