order-confirmation.html 2.71 KB
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Order Confirmation</title>
    <style>
        body { 
            font-family: Arial, sans-serif; 
            margin: 0; 
            padding: 0; 
            background-color: #f4f4f4;
        }
        .container { 
            max-width: 600px; 
            margin: 0 auto; 
            background: #ffffff; 
            padding: 0;
        }
        .header { 
            background: #4CAF50; 
            color: white; 
            padding: 20px; 
            text-align: center; 
        }
        .content { 
            padding: 30px; 
            background: white; 
        }
        .footer { 
            text-align: center; 
            padding: 20px; 
            color: #666; 
            font-size: 12px;
            background: #f9f9f9;
        }
        .order-details {
            background: #f9f9f9;
            padding: 15px;
            border-radius: 5px;
            margin: 20px 0;
        }
        .button {
            display: inline-block;
            padding: 12px 24px;
            background: #4CAF50;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin: 10px 0;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>Order Confirmation</h1>
        </div>
        <div class="content">
            <h2>Thank you for your order!</h2>
            <p>Dear {{customerName}},</p>
            <p>Your order <strong>{{orderNumber}}</strong> has been received and is being processed.</p>
            
            <div class="order-details">
                <h3>Order Summary</h3>
                <p><strong>Order Number:</strong> {{orderNumber}}</p>
                <p><strong>Order Date:</strong> {{orderDate}}</p>
                <p><strong>Total Amount:</strong> ${{totalAmount}}</p>
                <p><strong>Shipping Address:</strong><br>{{shippingAddress}}</p>
            </div>
            
            <p>We'll send you another email when your order ships. You can track your order status anytime by clicking the button below:</p>
            
            <a href="{{trackingUrl}}" class="button">Track Your Order</a>
            
            <p>If you have any questions about your order, please contact our customer service team.</p>
            
            <p>Thank you for shopping with us!</p>
            <p><strong>The E-Commerce Team</strong></p>
        </div>
        <div class="footer">
            <p>&copy; 2024 E-Commerce Store. All rights reserved.</p>
            <p>1234 Commerce Street, Business City, BC 12345</p>
        </div>
    </div>
</body>
</html>