Affiliate Registration
How customers become affiliates.
Updated
On this page
Overview
The affiliate program lets customers and partners earn commissions by referring new customers. Interested users apply through a form on the storefront.
Check if Affiliate Program is Active
import dash from "@/lib/dash"
const { is_active, custom_fields, welcome_message } = await dash.affiliates.getFormConfig()
if (!is_active) {
// Affiliate program is not enabled
}