PANTS & JEANS
{ 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 }); ">CARGO JEANS WB
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 }); ">BAGGY JEANS WB
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 }); ">FULL SWEATPANTS
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 }); ">FLARED JEANS
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 }); ">FLARED PANTS WB
2 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 }); ">SUIT PANTS
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 }); ">WIDE PANTS
3 colors