The Whimisical
-
${chips.map(chip => ``).join('')}
`
: `
`}
`).join('')}${set.label}
${set.type === 'range' ? (() => {
const rangeMin = Math.ceil(Number(set.min));
const rangeMax = Math.ceil(Number(set.max));
const clampToRange = n => Math.min(Math.max(n, rangeMin), rangeMax);
const applied = (window.collection?.filters?.applied?.[set.key] || [])[0];
const bounds = String(applied ?? '').match(/^(-?[\d.]+)-(-?[\d.]+)$/);
const readBound = (raw, fallback) => Number.isFinite(Number(raw)) ? clampToRange(Math.round(Number(raw))) : fallback;
const lo = bounds ? readBound(bounds[1], rangeMin) : rangeMin;
const hi = bounds ? readBound(bounds[2], rangeMax) : rangeMax;
const span = (rangeMax - rangeMin) || 1;
const rate = Shopify.currency.rate || 1;
const cf = new Intl.NumberFormat(Shopify.locale, { style: 'currency', currency: Shopify.currency.active, maximumFractionDigits: 0 });
const sym = cf.formatToParts(0).find(part => part.type === 'currency')?.value || '';
const gf = new Intl.NumberFormat(Shopify.locale, { maximumFractionDigits: 0 });
const disp = n => gf.format(Math.round(Number(n) * rate));
const bound = n => Math.round(Number(n) * rate);
return `
`;
})() : set.type === 'swatch' ? `
`).join('')}
`}
${(set.options || []).filter(option => {
if (!option.depth) return true;
const applied = window.collection?.filters?.applied || {};
const selfApplied = (applied[option.filterKey || set.key] || []).includes(option.value);
const parentValue = option.value.includes(';') ? option.value.split(';').slice(0, -1).join(';') : '';
const parentChecked = Object.values(applied).some(vals => (vals || []).includes(parentValue));
return parentChecked || selfApplied;
}).map(option => `
`).join('')}
` : `
${(set.options || []).filter(option => {
if (!option.depth) return true;
const applied = window.collection?.filters?.applied || {};
const selfApplied = (applied[option.filterKey || set.key] || []).includes(option.value);
const parentValue = option.value.includes(';') ? option.value.split(';').slice(0, -1).join(';') : '';
const parentChecked = Object.values(applied).some(vals => (vals || []).includes(parentValue));
return parentChecked || selfApplied;
}).map(option => `
13 products found. Enable enhanced browser features to use filters and sorting.
8-8.5mm Cultured Pearl and Diamond Santa Hat Earrings with Multicolored Enamel in Sterling Silver
2 Choices
$99
9-9.5mm Cultured Pearl and Multicolored Enamel Santa Hat Pendant Necklace with Diamond Accents in Sterling Silver. 18"
$79
1.30 Carat Emerald and 1.36 ct. t.w. Multi-Gemstone Ring in 18kt Gold Over Sterling
$149
9-9.5mm Cultured Pearl Santa Hat Ring with Diamonds in Sterling Silver
$79
4-4.5mm Cultured Pearl and Multicolored Enamel Christmas Station Bracelet in Sterling Silver
2 Choices
$169
14kt Yellow Gold-Plated Christmas Bead Charm Necklace with Simulated Gems/Pearls. 18"
$89
14kt Yellow Gold-Plated Christmas Bead Charm Bracelet with Simulated Gems/Pearls. 7"
$69
2.70 ct. t.w. Emerald and 2.10 ct. t.w. Multi-Gemstone Christmas Earrings in 18kt Gold Over Sterling
$199
4-4.5mm Cultured Pearl Christmas Station Bracelet in 18kt Gold Over Sterling
2 Choices
$189
.12 ct. t.w. Black and White Diamond Nutcracker Charm in 18kt Gold Over Sterling
$139
Red Agate and Multicolored Chalcedony Christmas Lights Necklace in 18kt Gold Over Sterling. 18"
$249
Red Agate and Multicolored Chalcedony Christmas Lights Bracelet in 18kt Gold Over Sterling. 7"
$199
Sterling Silver and 18kt Gold Over Sterling Bell Drop Earrings with Diamonds
$249
No matching products
`
: Array(36).fill(0).map((_, index) => `
`))
)}
{% if collection.pagination.pages.size > 1 %}
{% assign current_page = collection.page %}
{% assign total_pages = collection.pagination.pages.size %}
{% assign start_page = current_page | minus: 2 %}
{% if start_page < 1 %}{% assign start_page = 1 %}{% endif %}
{% assign end_page = current_page | plus: 2 %}
{% if end_page > total_pages %}{% assign end_page = total_pages %}{% endif %}
{% endif %}
-
${chips.map(chip => ``).join('')}
`
: `
`}
`).join('')}${set.label}
${set.type === 'range' ? (() => {
const rangeMin = Math.ceil(Number(set.min));
const rangeMax = Math.ceil(Number(set.max));
const clampToRange = n => Math.min(Math.max(n, rangeMin), rangeMax);
const applied = (window.collection?.filters?.applied?.[set.key] || [])[0];
const bounds = String(applied ?? '').match(/^(-?[\d.]+)-(-?[\d.]+)$/);
const readBound = (raw, fallback) => Number.isFinite(Number(raw)) ? clampToRange(Math.round(Number(raw))) : fallback;
const lo = bounds ? readBound(bounds[1], rangeMin) : rangeMin;
const hi = bounds ? readBound(bounds[2], rangeMax) : rangeMax;
const span = (rangeMax - rangeMin) || 1;
const rate = Shopify.currency.rate || 1;
const cf = new Intl.NumberFormat(Shopify.locale, { style: 'currency', currency: Shopify.currency.active, maximumFractionDigits: 0 });
const sym = cf.formatToParts(0).find(part => part.type === 'currency')?.value || '';
const gf = new Intl.NumberFormat(Shopify.locale, { maximumFractionDigits: 0 });
const disp = n => gf.format(Math.round(Number(n) * rate));
const bound = n => Math.round(Number(n) * rate);
return `
`;
})() : set.type === 'swatch' ? `
`).join('')}
`}
${(set.options || []).filter(option => {
if (!option.depth) return true;
const applied = window.collection?.filters?.applied || {};
const selfApplied = (applied[option.filterKey || set.key] || []).includes(option.value);
const parentValue = option.value.includes(';') ? option.value.split(';').slice(0, -1).join(';') : '';
const parentChecked = Object.values(applied).some(vals => (vals || []).includes(parentValue));
return parentChecked || selfApplied;
}).map(option => `
`).join('')}
` : `
${(set.options || []).filter(option => {
if (!option.depth) return true;
const applied = window.collection?.filters?.applied || {};
const selfApplied = (applied[option.filterKey || set.key] || []).includes(option.value);
const parentValue = option.value.includes(';') ? option.value.split(';').slice(0, -1).join(';') : '';
const parentChecked = Object.values(applied).some(vals => (vals || []).includes(parentValue));
return parentChecked || selfApplied;
}).map(option => `
13 products found. Enable enhanced browser features to use filters and sorting.
8-8.5mm Cultured Pearl and Diamond Santa Hat Earrings with Multicolored Enamel in Sterling Silver
2 Choices
$99
9-9.5mm Cultured Pearl and Multicolored Enamel Santa Hat Pendant Necklace with Diamond Accents in Sterling Silver. 18"
$79
1.30 Carat Emerald and 1.36 ct. t.w. Multi-Gemstone Ring in 18kt Gold Over Sterling
$149
9-9.5mm Cultured Pearl Santa Hat Ring with Diamonds in Sterling Silver
$79
4-4.5mm Cultured Pearl and Multicolored Enamel Christmas Station Bracelet in Sterling Silver
2 Choices
$169
14kt Yellow Gold-Plated Christmas Bead Charm Necklace with Simulated Gems/Pearls. 18"
$89
14kt Yellow Gold-Plated Christmas Bead Charm Bracelet with Simulated Gems/Pearls. 7"
$69
2.70 ct. t.w. Emerald and 2.10 ct. t.w. Multi-Gemstone Christmas Earrings in 18kt Gold Over Sterling
$199
4-4.5mm Cultured Pearl Christmas Station Bracelet in 18kt Gold Over Sterling
2 Choices
$189
.12 ct. t.w. Black and White Diamond Nutcracker Charm in 18kt Gold Over Sterling
$139
Red Agate and Multicolored Chalcedony Christmas Lights Necklace in 18kt Gold Over Sterling. 18"
$249
Red Agate and Multicolored Chalcedony Christmas Lights Bracelet in 18kt Gold Over Sterling. 7"
$199
Sterling Silver and 18kt Gold Over Sterling Bell Drop Earrings with Diamonds
$249
No matching products
`
: Array(36).fill(0).map((_, index) => `
`))
)}
{% if collection.pagination.pages.size > 1 %}
{% assign current_page = collection.page %}
{% assign total_pages = collection.pagination.pages.size %}
{% assign start_page = current_page | minus: 2 %}
{% if start_page < 1 %}{% assign start_page = 1 %}{% endif %}
{% assign end_page = current_page | plus: 2 %}
{% if end_page > total_pages %}{% assign end_page = total_pages %}{% endif %}
{% endif %}