Return & Refund Policy Generator
Create a custom return and refund policy for your website with this easy-to-use tool
Create a custom return and refund policy for your website with this easy-to-use tool
for ${company}
Our policy lasts for ${period} days. If ${period} days have passed since your purchase, we cannot offer you a return or exchange.
To be eligible for a return, your item must be in the same condition that you received it. It must also be in the original packaging.
Additional conditions:
Once your return is received and inspected, we will notify you of the approval or rejection of your refund. If approved, your refund will be processed, and a credit will automatically be applied to your original method of payment or store credit, within ${refundTimeVal}.
We offer the following refund options:
${shippingText}
For more information about our return policy, please contact us at ${email} or visit our website at ${url}.
Last updated: ${lastUpdated}
`; } function generateHTMLCode() { const previewContent = generatePreviewHTML(); const styleContent = ` /* CSS Styles for the Policy */ .policy-preview { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; line-height: 1.6; } .policy-header { text-align: center; padding: 20px; background: linear-gradient(135deg, ${primaryColor}, ${secondaryColor}); color: white; border-radius: 8px; margin-bottom: 30px; } .policy-header h2 { font-size: 2rem; margin-bottom: 10px; } .policy-section { margin-bottom: 25px; } .policy-section h3 { font-size: 1.5rem; margin-bottom: 10px; color: ${primaryColor}; padding-bottom: 8px; border-bottom: 1px solid #eee; } .policy-list { padding-left: 20px; margin: 10px 0; } .policy-list li { margin-bottom: 8px; } .last-updated { font-style: italic; color: #666; text-align: right; margin-top: 30px; padding-top: 10px; border-top: 1px solid #eee; } `; // Wrap the content in a container div to make it easy to paste return `