scorecard
  1. Home
  2. tech
  3. news
  4. How to find out how much you have spent on Swiggy so far

How to find out how much you have spent on Swiggy so far

How to find out how much you have spent on Swiggy so far
Tech2 min read
  • Swiggy is one of the top food delivery apps in India.
  • We often wonder how much money we are spending on such apps.
  • There’s an easy way to find out how much you have spent on Swiggy - keep reading to find out.
Food delivery apps have made our lives easier as ordering you can enjoy your favorite dishes from restaurants far away from your home without having to step out of your door.

While food delivery apps like Swiggy and Zomato are convenient to use, most of us have started spending more on outside food when compared to earlier.

Most of us may not even realize how much we are spending on food delivery apps. If you have been wondering the same thing, we have a solution that will allow you to know the amount spent by you so far on Swiggy.

How to calculate how much you have spent on Swiggy


  • To begin, open the Swiggy website on your computer.
  • Now, click on your name on the top right corner and click on “Orders”.
  • Now, keep scrolling and click on “SHOW MORE ORDERS”.
  • Keep repeating this until you reach the end.
  • Now, right-click using your mouse and click on “Inspect”.
  • Now, click on “Console”.
  • Then paste the below code in the console and press enter.

amount_node_list = document.getElementsByClassName('_3Hghg');
amount_regex = /\d+.\d*/g;
total_amount = 0
for (let i = 0; i < amount_node_list.length; i++) {
current_amount = amount_node_list[i].innerHTML;
if (current_amount.match(amount_regex)) {
integer_amount = parseInt(current_amount.match(amount_regex)[0])
total_amount += integer_amount;
}
} console.log("Total amount spent on Swiggy so far is ₹", total_amount);


You will then be shown the total amount you have spent on Swiggy. In my case, it was ₹5,052.

We hope this has helped you find out how much you have spent on Swiggy so far.

SEE ALSO:

Swiggy to foray into e-commerce with the launch of Minis — a marketplace for local stores

Zomato posted a ₹1,222 crore loss but its stock gained 18% — reasons behind the surge

These states in India are paying up to ₹15 extra on petrol compared to other states

READ MORE ARTICLES ON


Advertisement

Advertisement