Skip to content

Commit

Permalink
https://github.com/cabinetsbay/site/issues/146
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed May 7, 2024
1 parent 7b44170 commit ed5a51d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cabinetsbay/core"
,"version": "0.2.8"
,"version": "0.2.9"
,"description": "A custom module for cabinetsbay.com (Magento 2)"
,"type": "magento2-module"
,"homepage": "https://github.com/cabinetsbay/core"
Expand All @@ -11,7 +11,7 @@
,"homepage": "https://upwork.com/fl/mage2pro"
,"role": "Developer"
}]
,"require": {"mage2pro/core": ">=10.9.0"}
,"require": {"mage2pro/core": ">=10.9.1"}
,"autoload": {"files": ["registration.php"], "psr-4": {"CabinetsBay\\Core\\": ""}}
,"keywords": ["Magento 2"]
}
8 changes: 4 additions & 4 deletions view/frontend/templates/catalog/category/l2/bottom.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ use Sharapov\Cabinetsbay\Block\Category\View as B;
$id = $b->isRTA() ? 'rta' : 'pa'; /** @var string $id */
?>
<div class='product-page-faq' id='faq-purchase'>
<?= df_cms_block_content("product-page-faq-{$id}-welcome") ?>
<?= df_cms_block_output("product-page-faq-{$id}-welcome") ?>
</div>
<div class='product-page-faq'>
<?= df_cms_block_content("product-page-faq-{$id}-body") ?>
<?= df_cms_block_output("product-page-faq-{$id}-body") ?>
</div>
<div class='product-page-how-to-shop mobile-view' id='how-to-shop'>
<?= df_cms_block_content("product-page-{$id}-how-to-shop") ?>
<?= df_cms_block_output("product-page-{$id}-how-to-shop") ?>
<a href='#products_list' class='scrollTo'>Click here to start shopping</a>
</div>
<div class="product-page-info mobile-view">
<?= df_cms_block_content("product-page-{$id}-info") ?>
<?= df_cms_block_output("product-page-{$id}-info") ?>
</div>
4 changes: 2 additions & 2 deletions view/frontend/templates/catalog/category/l2/top.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ https://github.com/cabinetsbay/site/issues/135 -->
<div class='cb-faq'>Frequently Asked Questions about <?= $title ?> Cabinets
<a href="#faq-purchase" class="scrollTo">Learn More...</a>
</div>
<div class='product-page-info'><?= df_cms_block_content("product-page-{$id}-info") ?></div>
<div class='product-page-info'><?= df_cms_block_output("product-page-{$id}-info") ?></div>
<div class='product-page-how-to-shop'>
<?= df_cms_block_content("product-page-{$id}-how-to-shop") ?>
<?= df_cms_block_output("product-page-{$id}-how-to-shop") ?>
<a class='scrollTo' href='#how-to-shop'>Learn More...</a>
</div>

0 comments on commit ed5a51d

Please sign in to comment.