+

Cookies on the Business Insider India website

Business Insider India has updated its Privacy and Cookie policy. We use cookies to ensure that we give you the better experience on our website. If you continue without changing your settings, we\'ll assume that you are happy to receive all cookies on the Business Insider India website. However, you can change your cookie setting at any time by clicking on our Cookie Policy at any time. You can also see our Privacy Policy.

Close
HomeQuizzoneWhatsappShare Flash Reads
 

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

May 26, 2022, 15:23 IST
Business Insider India
Representatioanl image.Canva
  • 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.
Advertisement
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



Click on InspectBusiness Insider India / 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.

Advertisement

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);
Advertisement

The total amount spent being shown.Business Insider India / Swiggy

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
You are subscribed to notifications!
Looks like you've blocked notifications!
Next Article