HOODIES
{ return $wire.productOptions.find(option => option.option.id === colorOptionId && option.values.some(val => val.id === valueId) ); }); if (colorValue) { selectedColorId = colorValue; console.log('ProductCard: Color found in selectedOptionValues for name link', { colorValue }); } } console.log('ProductCard: Final selectedColorId for name link', { selectedColorId }); ">ZIP HOODIE BP
1 color
{ return $wire.productOptions.find(option => option.option.id === colorOptionId && option.values.some(val => val.id === valueId) ); }); if (colorValue) { selectedColorId = colorValue; console.log('ProductCard: Color found in selectedOptionValues for name link', { colorValue }); } } console.log('ProductCard: Final selectedColorId for name link', { selectedColorId }); ">ZIP HOODIE 03
1 color
{ return $wire.productOptions.find(option => option.option.id === colorOptionId && option.values.some(val => val.id === valueId) ); }); if (colorValue) { selectedColorId = colorValue; console.log('ProductCard: Color found in selectedOptionValues for name link', { colorValue }); } } console.log('ProductCard: Final selectedColorId for name link', { selectedColorId }); ">PADDED ZIP HOODIE
1 color
{ return $wire.productOptions.find(option => option.option.id === colorOptionId && option.values.some(val => val.id === valueId) ); }); if (colorValue) { selectedColorId = colorValue; console.log('ProductCard: Color found in selectedOptionValues for name link', { colorValue }); } } console.log('ProductCard: Final selectedColorId for name link', { selectedColorId }); ">ZIP HOODIE
3 colors
{ return $wire.productOptions.find(option => option.option.id === colorOptionId && option.values.some(val => val.id === valueId) ); }); if (colorValue) { selectedColorId = colorValue; console.log('ProductCard: Color found in selectedOptionValues for name link', { colorValue }); } } console.log('ProductCard: Final selectedColorId for name link', { selectedColorId }); ">WIDE HOODIE
3 colors