Direct Film Order Calculator
About this app
An interactive calculator tool for customers to estimate the price for direct film orders easily.
Direct to Film, Print and Press Calculator Direct to Film, Print and Press Calculator Product Type: Digital - $10 each Print - $15 each Deluxe Limited Edition - $20 each Quantity of Films: Calculate Price Total Price: $0.00
Related apps
Put this on your site
Source
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Direct to Film, Print and Press Calculator</title>
<meta name="description" content="An interactive calculator tool for customers to estimate the price for direct film, print and press orders easily.">
<meta name="keywords" content="Calculator, Film Orders, Print Orders, Pricing, Self Service, Direct Orders">
<!-- Libraries -->
<!-- jQuery (3.6.0) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js" crossorigin="anonymous"></script>
<!-- Bootstrap CSS (5.3.3) -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" crossorigin="anonymous">
<!-- Bootstrap JS (5.3.3) -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" crossorigin="anonymous">
</script>
<!-- Font Awesome (6.6.0) -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.6.0/css/fontawesome.min.css" crossorigin="anonymous">
<script type="text/javascript">
try {
// App Javascript Goes Here
document.addEventListener("DOMContentLoaded", function() {
const basePrices = {
digital: 10,
print: 15,
deluxe: 20
};
const calculatePrice = () => {
const quantity = parseInt(document.getElementById('quantity').value) || 0;
const selectedProduct = document.querySelector('input[name="productType"]:checked')?.value || 'digital';
const totalPrice = basePrices[selectedProduct] * quantity;
document.getElementById('totalPrice').textContent = `Total Price: $${totalPrice.toFixed(2)}`;
};
document.getElementById('quantity').addEventListener('input', calculatePrice);
document.querySelectorAll('input[name="productType"]').forEach(input => {
input.addEventListener('change', calculatePrice);
});
});
} catch (error) {
throw error;
}
</script>
<style>
body {
background: linear-gradient(135deg, #c7e9ff, #f5e1ff);
color: #333;
}
#main-container {
margin-top: 50px;
padding: 20px;
border-radius: 15px;
background: white;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
h1 {
font-family: 'Arial Black', sans-serif;
margin-bottom: 20px;
color: #3a65c7;
}
.btn {
background-color: #3a65c7;
color: white;
border-radius: 25px;
padding: 10px 20px;
font-size: 16px;
}
.btn:hover {
background-color: #1d47a2;
}
.total {
margin-top: 20px;
font-size: 20px;
font-weight: bold;
color: #e84118;
}
fieldset {
border: 2px solid #3a65c7;
border-radius: 10px;
padding: 20px;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>Direct to Film, Print and Press Calculator</h1>
<fieldset class="mb-3">
<legend>Product Type:</legend>
<div class="mb-3">
<input type="radio" name="productType" id="digital" value="digital" checked>
<label for="digital">Digital - $10 each</label><br>
<input type="radio" name="productType" id="print" value="print">
<label for="print">Print - $15 each</label><br>
<input type="radio" name="productType" id="deluxe" value="deluxe">
<label for="deluxe">Deluxe Limited Edition - $20 each</label>
</div>
</fieldset>
<div class="mb-3">
<label for="quantity" class="form-label">Quantity of Films:</label>
<input type="number" class="form-control" id="quantity" placeholder="Enter quantity" min="0">
</div>
<button class="btn" id="calculateButton">Calculate Price</button>
<div class="total" id="totalPrice">Total Price: $0.00</div>
</div>
</body>
</html>
NEW APPS
These are apps made by the community!