J.Crew Deal Filter

Filter J.Crew sale items by "good" or "great" deals.

Skaber
Brandon A
Daglige installationer
0
Installationer i alt
1
Bedømmelser
0 0 0
Version
0.1
Oprettet
04.11.2024
Opdateret
04.11.2024
Licens
MIT
Gælder for

This Tampermonkey script helps you quickly filter J.Crew sale and shop pages to find the best deals, based on the discount percentage. It adds a filter bar above the product list with buttons to show only "Good Deals" (50-70% off) or "Great Deals" (70%+ off), as well as a button to reset the filtering and show all products.

Features:

Good Deals Filter: Shows products with a discount between 50% and 70%.

Great Deals Filter: Shows products with a discount greater than 70%.

Show All Button: Resets the filter and displays all products.

Handles Price Ranges: Correctly calculates discounts for products with price ranges (e.g., "$49.50-$88"), using the lowest price in the range.

Hides "Select Colors": Filters out products that only display "Select Colors" as these don't have visible discounts yet.

Improved Styling: Clean, user-friendly button styles with hover effects.

Works on Sale and Shop Pages: Compatible with both /sale/* and /shop/* URLs on J.Crew's website.