45464748495051525354555657585960616263
//VarDumper::dump($model->getImage()->id,5,1);
?>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"url": "https://<?=$_SERVER['SERVER_NAME'].'/'.Yii::$app->request->getPathInfo();?>",
"category": "<?=Category::findOne($model->category_id)->name?>",
"image": "https://<?=$_SERVER['SERVER_NAME'].$model->getImage()->getPathFrontend();?>",
"brand": "<?=Producer::findOne($model->producer_id)->name?>",
"description": "<?=strip_tags($model->text)?>",
"name": "<?=$model->name?>",
"offers": {
"@type": "Offer",
"availability": "https://schema.org/InStock",
"price": "<?=$model->price?>",
"priceCurrency": "грн"
}