All Discussions > Steam Forums > Off Topic > Topic Details
jol11ly Dec 20, 2014 @ 7:38am
Calculate on wishlist
Who thinks it would be a good idea to have a calculator on the wishlist to calculate the total value . Even with sales.
< >
Showing 1-8 of 8 comments
Plaid Dec 20, 2014 @ 7:39am 
Yeah, that would be nice.
The wishlist needs some work. I would also like to sort by discount/discount amount, so I could get all the 75% off in a group, etc.
Ame Dec 20, 2014 @ 8:12am 
+1
Mayfey Dec 20, 2014 @ 8:13am 
Might want to put this into steam suggestions.
jol11ly Dec 20, 2014 @ 11:31am 
where is the steam suggestions

Pretty sure most computers come with a calculator.
Uncouth Ruffian Dec 20, 2014 @ 2:50pm 
i second this
CrazyIvanTR May 30, 2016 @ 4:02pm 
I'll just post this here.

If you sort by price and then save your wishlist page on your computer, then right click and edit it. Go down to the bottom and find </body>, then at the start of that code input the following code:

<script type="text/javascript">
var iTot=0;
var elem = document.getElementsByTagName('div');
for(var i = 0; i < elem.length; i++)
{if((elem.className == "price")||(elem.className == "discount_final_price"))
{if(elem.innerText.length>0){
var iTemp=parseFloat(elem.innerText.slice(0,-6));
iTot = iTot + iTemp;
}else{alert(iTot);}};}
alert(iTot);</script>

Change the -6 to -5 if your currency has only 1 letter or symbol or to -7 if it has 3 (don't have to change if it has 2, mine is done for TL, if yours is $ then it should be a -5 or if it's CAD then it should be -7). Then save the document and enter the page. It will show up an alert and that will be your total value of steam wishlist at that current time, including the current discounts. This doesn't remove the need for a feature like that but it's nice to be able to see the total.

This method won't calculate any cents or equivalent stuff, it'll just add up everything before the dot or comma in the currency. Some areas may need a bit more tinkering with the number.

(You'll get multiple alerts after the first one, you can just close the page or hold ESC to close them all).

Also, to the guy who says most computers come with a calculator. I dare you to calculate my wishlist without getting bored or making a mistake with that calculator.
Last edited by CrazyIvanTR; May 30, 2016 @ 4:03pm
Ruinion May 30, 2016 @ 4:10pm 
crazyivan how did u figure that out r u a hacker or.somthing?
ps. i wanna b like u when i get older
Last edited by Ruinion; May 30, 2016 @ 4:12pm
< >
Showing 1-8 of 8 comments
Per page: 1530 50

All Discussions > Steam Forums > Off Topic > Topic Details
Date Posted: Dec 20, 2014 @ 7:38am
Posts: 8