+
+
+
-
@{{ p.name }}
-
-
-
-
@{{ p.price }} @{{ store.currency }}
-
-
@@ -419,22 +554,22 @@
// ── league / conference keyword map ──────────────────────────────────
// Order matters: more specific phrases first
const LEAGUES = [
- { key: 'NBA', terms: ['nba'] },
- { key: 'NFL', terms: ['nfl'] },
- { key: 'MLB', terms: ['mlb'] },
- { key: 'NHL', terms: ['nhl'] },
- { key: 'MLS', terms: ['mls'] },
- { key: 'WNBA', terms: ['wnba'] },
- { key: 'Big Ten', terms: ['big ten','big10','big 10'] },
- { key: 'ACC', terms: ['acc'] },
- { key: 'SEC', terms: ['sec'] },
- { key: 'Big 12', terms: ['big 12','big12'] },
- { key: 'Pac-12', terms: ['pac-12','pac12','pac 12'] },
- { key: 'AAC', terms: ['aac'] },
- { key: 'CUSA', terms: ['cusa','c-usa'] },
- { key: 'MAC', terms: ['\bmac\b'] },
- { key: 'Sun Belt',terms: ['sun belt'] },
- { key: 'Mountain West', terms: ['mountain west','mwc'] },
+ { key: 'WNBA', terms: ['\\bwnba\\b'] },
+ { key: 'NBA', terms: ['\\bnba\\b'] },
+ { key: 'NFL', terms: ['\\bnfl\\b'] },
+ { key: 'MLB', terms: ['\\bmlb\\b'] },
+ { key: 'NHL', terms: ['\\bnhl\\b'] },
+ { key: 'MLS', terms: ['\\bmls\\b'] },
+ { key: 'Big Ten', terms: ['\\bbig\\s*ten\\b','\\bbig\\s*10\\b','\\bbig10\\b'] },
+ { key: 'ACC', terms: ['\\bacc\\b'] },
+ { key: 'SEC', terms: ['\\bsec\\b'] },
+ { key: 'Big 12', terms: ['\\bbig\\s*12\\b','\\bbig12\\b'] },
+ { key: 'Pac-12', terms: ['\\bpac[-\\s]*12\\b','\\bpac12\\b'] },
+ { key: 'AAC', terms: ['\\baac\\b'] },
+ { key: 'CUSA', terms: ['\\bcusa\\b','\\bc-usa\\b'] },
+ { key: 'MAC', terms: ['\\bmac\\b'] },
+ { key: 'Sun Belt',terms: ['\\bsun\\s+belt\\b'] },
+ { key: 'Mountain West', terms: ['\\bmountain\\s+west\\b','\\bmwc\\b'] },
];
function classify(name) {
diff --git a/resources/views/teamstore-sublayouts/product-details.blade.php b/resources/views/teamstore-sublayouts/product-details.blade.php
index d4f3bdb..5fe8b60 100644
--- a/resources/views/teamstore-sublayouts/product-details.blade.php
+++ b/resources/views/teamstore-sublayouts/product-details.blade.php
@@ -7,6 +7,45 @@
@endif
-
+
-