Pricing Policy Generator

Pricing Policy Generator

Apni pricing policy customize karein — tiers, discounts, taxes, billing aur price-change rules ke saath.

Customize
Use ISO code like USD, INR, EUR etc.

Pricing Tiers

Discounts & Promotions

Taxes & Billing

Price Changes & Refunds

Color Scheme
Policy Preview
Copied to clipboard!
`; } // discount text const discountHtml = discountAllowed ? `

हम प्रमोशनल कोड स्वीकार करते हैं। सामान्यतः अधिकतम छूट ${maxDisc}% तक हो सकती है (यदि विशेष प्रस्ताव में अलग नहीं बताया गया)।

` : `

हम वर्तमान में किसी भी प्रकार के डिस्काउंट/प्रमोशन का समर्थन नहीं करते।

`; // tax text const taxHtml = taxMode === 'included' ? `

सूचीबद्ध कीमतों में कर शामिल हैं। (${taxPct}% संकेत रूप में)

` : `

कुल चेकआउट राशि पर लागू कर जोड़े जाएंगे। वर्तमान कर दर: ${taxPct}%।

`; // billing const billingText = billing === 'monthly' ? 'सदस्यता मासिक आधार पर बिल की जाएगी।' : (billing === 'yearly' ? 'सदस्यता सालाना आधार पर बिल की जाएगी।' : 'यह एक एक बार का भुगतान है।'); previewContent.innerHTML = `

Pricing Policy

${company}

Pricing Overview

Listed prices are shown in ${curr}. ${billingText}

${tiersHtml}

Discounts & Promotions

${discountHtml}

Taxes & Billing

${taxHtml}

बिलिंग और भुगतान विवरण: ${billingText}

Price Changes

हम किसी भी समय कीमतों को संशोधित कर सकते हैं। कीमत में परिवर्तन लागू होने से पहले हम कम से कम ${notice} दिन का नोटिस देंगे (यदि लागू)।

Refunds & Cancellations

${refundTxt}

Contact & Support

किसी भी प्रश्न के लिए संपर्क करें: ${email} या वेबसाइट पर जाएँ: ${url}

Last updated: ${lastUpdated}
`; } // generate standalone HTML block (for copying) function generateHTMLBlock(){ const previewHtml = previewContent.innerHTML || ''; // basic style for the copied snippet const style = ` `; return `${style}\n
\n${previewHtml}\n
`; } // initial attach for remove buttons attachTierEvents(tiersContainer); // attachTierEvents helper (redeclared to ensure available) function attachTierEvents(container){ container.querySelectorAll('.btn-remove-tier').forEach(btn=>{ btn.onclick = function(){ const parent = btn.closest('.tier-item'); if(parent) parent.remove(); updatePreview(); } }); container.querySelectorAll('.tier-name, .tier-price').forEach(inp=>{ inp.addEventListener('input', updatePreview); }); } // initial preview render updatePreview(); })();
Scroll to Top