Calculate the Delivery charges from Swiggy and Zomato Online

First of its kind delivery charges calculator for Swiggy and Zomato, if you are aware both the food aggregators has increased their platform me and for a single user it may be small, but consider the bigger impact when million of people ordering the food, then look at the volume of transactions. 

We are not against they making money, however there should a transparency on the cost and also how increase in charges are helping the delivery partner who is key to their success and revenue.  There are many stories which is floating over the internet about their struggle.  




Delivery App Cost Calculator

Delivery App Cost Calculator

Zomato

Platform Fee: ₹0

Packing Charges: ₹0

Delivery Fee: ₹0

Discount: ₹0

Value Before Tax: ₹0

Tax (5%): ₹0

Total Invoice: ₹0

Swiggy

Platform Fee: ₹0

Packing Charges: ₹0

Delivery Fee: ₹0

Discount: ₹0

Value Before Tax: ₹0

Tax (5%): ₹0

Total Invoice: ₹0

// Get user inputs const orderValue = parseFloat(document.getElementById("orderValue").value); const distance = document.getElementById("distance").value; const taxRate = parseFloat(document.getElementById("taxRate").value) || 5; // Default 5% tax const deliveryFee = parseFloat(document.getElementById("deliveryFee").value) || 0; const discount = parseFloat(document.getElementById("discount").value) || 0; // Zomato Calculations const zomatoFee = 5; // 10% platform fee const zomatoPacking = (distance === "under5") ? 15 : 25; const zomatoBeforeTax = orderValue + zomatoFee + zomatoPacking + deliveryFee - discount; const zomatoTax = (zomatoBeforeTax * taxRate) / 100; const zomatoTotal = zomatoBeforeTax + zomatoTax; // Swiggy Calculations const swiggyFee = 6; // 12% platform fee const swiggyPacking = (distance === "under5") ? 10 : 20; const swiggyBeforeTax = orderValue + swiggyFee + swiggyPacking + deliveryFee - discount; const swiggyTax = (swiggyBeforeTax * taxRate) / 100; const swiggyTotal = swiggyBeforeTax + swiggyTax; // Update DOM with calculated values document.getElementById("zomatoFee").innerText = zomatoFee.toFixed(2); document.getElementById("zomatoPacking").innerText = zomatoPacking.toFixed(2); document.getElementById("zomatoDelivery").innerText = deliveryFee.toFixed(2); document.getElementById("zomatoDiscount").innerText = discount.toFixed(2); document.getElementById("zomatoBeforeTax").innerText = zomatoBeforeTax.toFixed(2); document.getElementById("zomatoTax").innerText = zomatoTax.toFixed(2); document.getElementById("zomatoTotal").innerText = zomatoTotal.toFixed(2); document.getElementById("swiggyFee").innerText = swiggyFee.toFixed(2); document.getElementById("swiggyPacking").innerText = swiggyPacking.toFixed(2); document.getElementById("swiggyDelivery").innerText = deliveryFee.toFixed(2); document.getElementById("swiggyDiscount").innerText = discount.toFixed(2); document.getElementById("swiggyBeforeTax").innerText = swiggyBeforeTax.toFixed(2); document.getElementById("swiggyTax").innerText = swiggyTax.toFixed(2); document.getElementById("swiggyTotal").innerText = swiggyTotal.toFixed(2); } ]]>

Subscribe to receive free email updates:

Related Posts :

0 Response to "Calculate the Delivery charges from Swiggy and Zomato Online"

Post a Comment