@if (loading()) {
Cargando...
} @else if (error()) { } @else if (product(); as prod) {

{{ prod.nombre }}

{{ getFormattedPrice(prod.precio) }} @if (oldPrice(); as oldPrice) { {{ oldPrice }} }
@if (colorAttribute() || sizeAttribute()) {
@if (colorAttribute(); as colorAttr) {
Color:
@for (option of colorAttr.options; track option.id) { }
} @if (sizeAttribute(); as sizeAttr) {
Talle:
@for (option of sizeAttr.options; track option.id) { }
}
}
{{ quantity() }}
Agregar al carrito Comprar

DESCRIPCIÓN

{{ prod.descripcion }}
@if (showDescriptionToggle()) { }
} @else { }