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
Transform talent with learning that works
Capability development is critical for businesses who want to push the envelope of innovation.Discover how business leaders are strategizing around building talent capabilities and empowering employee transformation.Know More
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.
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
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.
NewsletterSIMPLY PUT - where we join the dots to inform and inspire you. Sign up for a weekly brief collating many news items into one untangled thought delivered straight to your mailbox.