OUTERWEAR
{ 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 }); ">WORK JACKET
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 }); ">TRENCH
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 }); ">BOMBER
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 }); ">JEANS JACKET
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 }); ">PERFECT PUFFER
5 colors