> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.releas.it/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Add a Custom COD Button in PageFly

If you want to add a custom button in PageFly that triggers the Releasit COD Form, you can do so by applying a specific CSS class to a button block. This guide provides a step-by-step walkthrough to set up and publish a COD button inside PageFly.

### Step 1: Add a Generic Button Block

1. Open **PageFly **and navigate to the page where you want to add the button.
2. Drag and drop a **Generic Button block **onto the page.



![](https://storage.crisp.chat/users/helpdesk/website/956ccd10099b2000/image_16052c9.png)


### Step 2: Apply the Required CSS Class

1. Click on the button block to access its settings.
2. Locate the CSS Class field.
3. Enter the following class:

`_rsi-cod-form-pagefly-button-overwrite-v2
`




![](https://storage.crisp.chat/users/helpdesk/website/956ccd10099b2000/image_13xawqz.png)


This class ensures that clicking the button will open the Releasit COD Form automatically.



### Step 3: Save and Publish the Page

1. Click the **Save & Publish** button to apply the changes.



![](https://storage.crisp.chat/users/helpdesk/website/956ccd10099b2000/image_sth0wo.png)


### Step 4: Test the Button on the Live Page

1. Open the live page in your store.
2. Click on the newly added button.
3. Verify that the Releasit COD Form opens when the button is clicked.

![](https://storage.crisp.chat/users/helpdesk/website/956ccd10099b2000/image_1hfa7e3.png)



### Additional Notes

* You can add multiple buttons on a page by repeating these steps.
* If the button does not work, ensure the CSS class is entered correctly.
* Refresh the page or clear your cache if updates are not visible immediately.



### Need Help?

If you have any questions or issues setting up the custom COD button in PageFly, contact support through the app for assistance.