Amazon wishlist – total cost

Captura de ecrã 2016-01-25, às 17.48.11


I have a small Amazon wishlist…
Amazon a few years ago removed to total cost of it.

For those who wanna see it, you can go to and use the JS on Chrome Console, for example.

This is the code (copied from mayel) for use with gb pounds.

var list = $$("span.a-size-base.a-color-price");
var total=0;
for(i=0; i<list.length;i++){
  var n = parseFloat(list[i].innerText.replace("£","").replace(",",""));  
  if(n === Number(n)) total += parseFloat(n);
alert(list.length+" items for a total of: £"+total.toFixed(2));


Leave a Reply

Your email address will not be published. Required fields are marked *