Skip to main content
HTML data attributes provide a no-code way to add Fungies checkout buttons to any website. Simply add attributes to your HTML elements and include the SDK script.

Quick Start

Script Attributes

Add these attributes to the <script> tag:

Auto-Display Example

For dedicated checkout pages that should immediately show the checkout:

Button Attributes

Add these attributes to any clickable element (button, anchor, div, etc.):

Required

Display Options

Billing Data

Other Options

Legacy (Deprecated)

Complete Examples

Basic Overlay Button

With Prefilled Billing Data

With Discount Code

With Quantity

Multi-Product Checkout

With Custom Fields

Embedded Checkout

Styling

The SDK doesn’t add any styles to your buttons. Style them however you want:

Dynamic Elements

If you add checkout buttons dynamically (e.g., via JavaScript or a framework), call Fungies.ScanDOM() to attach click handlers:
Or import and call directly: