Discogs - Sort by Total Price in Marketplace

Sort by the italicized 'total' price on a Discogs release page instead of pre-shipping price

< Feedback em Discogs - Sort by Total Price in Marketplace

Avaliação: Bom - o script funciona

§
Publicado: 28/06/2023

Absolutely amazing! Thank you so much!

Just curious though, what's the purpose of this line:

const weight = row.querySelector(".item_add_to_cart .button") || !ascending ? 0 : 9999999;
JonUleisAutor
§
Publicado: 10/09/2023

Hey, just saw this comment now. Thank you! That line "weighs" down any items without a cart button (unavailable to you) to the bottom of the sort order, if you're sorting by ascending price.

Publicar resposta

Faça o login para publicar uma resposta.