Варианты товара
{/if}
{if $_modx->user.id != 1 or !$_modx->config.view_variant_product}
{if $modx->getPlaceholder('variants')}
Варианты товара
{$modx->getPlaceholder('variants')}
{/if}
{/if}
{if $modx->getPlaceholder('otherCollectionOneVendor')}
Другие коллекции производителя
{$modx->getPlaceholder('otherCollectionOneVendor')}
{/if}
{'!looked'|snippet : [
'tpl' => 'mbl.product-card.tpl',
'limit' => 8,
'includeThumbs' => 'normal',
'leftJoin' => '{
"normal": { "class":"msProductFile","alias":"normal", "on": "normal.product_id = msProduct.id AND normal.path LIKE \'%/normal/\' AND normal.rank=0"}
,"normalx1": { "class":"msProductFile","alias":"normalx1", "on": "normalx1.product_id = msProduct.id AND normalx1.path LIKE \'%/normal/\' AND normalx1.rank=1"}
}',
'select' => '{
"msProduct":"*"
,"normal":"normal.url as normal"
,"normalx1":"normalx1.url as normalx1"
}',
]
}
{$_modx->resource.content}
{/block}
{block 'style'}
{/block}
{block 'scripts'}
{if $_modx->user.id == 1}
{/if}
{/block}