Theme Rules Audit (Dec 2026)
Audit of the special-case rules in the live theme (main at 80d4a3e) and how much store data relies on each. Dec 3 2026. Tag counts cover published products only.
1. Women's default image
Five separate mechanisms pick a women's photo for a product card.
| Rule | Where | In use |
|---|---|---|
A. Tag alt_image + collection URL contains /women: card shows image 2 |
snippets/product-item.liquid | 138 products |
B. Tag alt_image_3 + /women: card shows image 3 |
snippets/product-item.liquid | 0 products (dead) |
C. Alt text contains #Women: homepage shelf alternates women and men shots |
sections/pb-home-shelf.liquid | Yes |
D. Section setting "card image marker" + Shop Men / Shop Women toggle (alt #streetwearmen / #streetwearwomen) |
main-collection, product-item, pb-collection-hero | Streetwear Selects |
| E. Same marker on the PB Collection Grid section | sections/pb-collection-grid.liquid | Streetwear Selects page |
Problems with rule A
-
Too narrow.
/womenonly matches handles that start with "women". It misses the four playboy-womens-festival-* collections, playboy-women-festival-shop-all, pacsun-x-playboy-womens, psd-women and shop-womens-accessories. "woman" is never checked. - No hover swap. Primary and hover image are both image 2, so these cards do nothing on hover in women's collections.
-
Hardcoded position. Of 138 tagged products, 108 have the
#Womenshot at image 2 (correct). 7 have it elsewhere, so the wrong photo shows: playboy-world-play-jersey (4), playboy-bunny-tee (4), kaya-tee (5), pb-tokyo-hoodie (4), masthead-sweatshirt (4), ace-of-club-crewneck-sweatshirt-white (4), jolya-womens-leather-jackets (1). 23 have no#Womentag, so they can't be checked.
Recommendation: switch A and B to C's logic (first image whose alt contains #women), gated by a collection metafield instead of the URL. Then retire the alt_image tags.
2. Hardcoded collection handles
| Handle | What it does | Status |
|---|---|---|
| streetwear-selects | Collection-scoped product links, gallery leads with #streetwear shots, hidden _pb_path / _pb_gender order properties, PDP gender script. Hardcoded in 5 files. |
Live, 44 products |
| naughty-prices-1 | % off badge on cards, only in this collection | Collection not published, likely dead |
| playboy-x-fuerza-regida | Logo in banner, "Releasing March 8th" empty state from 2024 | Not published, dead |
| playboy-halloween-accessories | Dual cards (image 1 / image 2) for the 6pc accessories kit, set in section settings | Seasonal leftover |
Also: main-collection-bretman-rock.liquid is a full copy of the main collection section (used by the collection-bretman-rock template), so it is missing every 2026 fix. Leftovers: product.drop-bretman-rock-2024, article.collab-fuerza, sections/header-bk.liquid.
3. Tag-driven rules
| Tag | Effect | Products |
|---|---|---|
__label: / __label2:
|
Custom badge on cards and PDP; __label2:JUST ADDED gets its own style |
1 |
restocking |
PRE-ORDER pill and stays visible when sold out | 0 |
preorder |
Pre-Order badge on title, card and sticky bar | 0 |
bogo |
"Buy One, Get One FREE" badge | 0 |
show-soldout |
Keeps a sold-out product on collection pages | 38 |
final-sale |
FINAL SALE drawer on PDP | 691 |
__us-only |
Blocks add to cart outside the US | 2 |
no-back-in-stock, join-the-club
|
Opt-out / force-on overrides | 0 (fine) |
There are three pre-order mechanisms (restocking, preorder, __label:PRE-ORDER). Only the label one is in use.
4. Text and alt-text triggers
- Alt text
#Option_Value: Focal's per-variant image sets. Patched Aug 2026 to ignore unknown tags like#Women. - Nav: a menu title containing "sale" turns red; a
|in a title makes the two-line pill. - custom.css: any header link whose URL contains "bfcm" is red. Seasonal, still live.
- Magazine cross-sell shows when product type is "Home Goods - Books" and the title contains "magazine".
Cleanup candidates
- Fix the
alt_imagehover bug and the 7 mispositioned products, or move to the#womenmarker. - Remove dead rules:
alt_image_3,bogo,preorder,restocking, fuerza-regida, naughty-prices-1 (confirm that collection is retired first). - Retire or rebuild the Bretman Rock collection template and header-bk.
- Clear the Halloween dual-card settings.