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

Advertisement
How to find out how much you have spent on Swiggy so far
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.

Complimentary Tech Event
Discover the future of SaaS in India
The 6-part video series will capture the vision of Indian SaaS leaders and highlight the potential for the sector in the decades to come.Watch on Demand
Our Speakers
Girish Mathrubootham
Brian E. Taptich

How to calculate how much you have spent on Swiggy



How to find out how much you have spent on Swiggy so far
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

How to find out how much you have spent on Swiggy so far
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
{{}}