Discogs - Sort by Total Price in Marketplace

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

< Отзив за Discogs - Sort by Total Price in Marketplace

Отзив: Отлично - скриптът работи

§
Публикуван на: 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;
JonUleisАвтор
§
Публикуван на: 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.

Публикувайте отговор

Влезте, за да публикувате отговор.