Vinoteca: модуль, шаблон и компоненты интернет-магазина вина на 1С-Битрикс
This commit is contained in:
commit
bb7d8af290
469 files changed
+26426
No files matched your search
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
use Bitrix\Main\Localization\Loc;
|
||||
|
||||
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
|
||||
die();
|
||||
}
|
||||
|
||||
$APPLICATION->SetTitle(Loc::getMessage("VINO_OFFERS_H1"));
|
||||
$APPLICATION->SetPageProperty("title", Loc::getMessage("VINO_OFFERS_PAGE_TITLE"));
|
||||
$APPLICATION->SetPageProperty("description", Loc::getMessage("VINO_OFFERS_DESCRIPTION"));
|
||||
$automatic = \Jinove\Vinoteca\Offers::automatic();
|
||||
?>
|
||||
<section class="vino-razdel-hero">
|
||||
<div class="vino-wrap">
|
||||
<?php \Jinove\Vinoteca\Breadcrumbs::show(array(array(Loc::getMessage("VINO_OFFERS_H1")))); ?>
|
||||
<h1 class="vino-razdel-hero__title"><?= Loc::getMessage("VINO_OFFERS_H1") ?></h1>
|
||||
<p class="vino-razdel-hero__lead"><?= Loc::getMessage("VINO_OFFERS_LEAD") ?></p>
|
||||
</div>
|
||||
</section>
|
||||
<section class="vino-offers-page">
|
||||
<div class="vino-wrap">
|
||||
<?php $APPLICATION->IncludeComponent("bitrix:news.list", "vinoteca-offers", \Jinove\Vinoteca\Offers::listParams(), $component); ?>
|
||||
</div>
|
||||
</section>
|
||||
<section class="vino-razdel-sec vino-offers-wines" id="vino-offers-wines">
|
||||
<div class="vino-wrap">
|
||||
<h2 class="vino-offers-wines__title"><?= Loc::getMessage("VINO_OFFERS_WINES") ?></h2>
|
||||
<?php $APPLICATION->IncludeComponent("bitrix:catalog.section", "vinoteca", \Jinove\Vinoteca\Offers::wineParams($automatic["products"], $automatic["sections"], \Jinove\Vinoteca\Offers::folder(), \Jinove\Vinoteca\Offers::folder()), $component); ?>
|
||||
</div>
|
||||
</section>
|
||||
<?php \Jinove\Vinoteca\Offers::canonical(\Jinove\Vinoteca\Offers::folder()); ?>
|
||||
Reference in new issue
Block a user