Discogs - Sort by Total Price in Marketplace

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

< Feedback on Discogs - Sort by Total Price in Marketplace

Review: Good - script works

§
Posted: 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;
JonUleisAuthor
§
Posted: 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.

Post reply

Sign in to post a reply.