Skip to content

Commit

Permalink
FFWEB-3028: FF campaigns changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayn93 committed Apr 9, 2024
1 parent 15747fc commit 382aa32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/view/frontend/templates/ff/campaign-product.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
/** @var Omikron\Factfinder\ViewModel\ProductBasedComponent $viewModel */
$viewModel = $block->getViewModel();
?>
<ff-campaign-product record-id="<?= $escaper->escapeHtmlAttr($viewModel->getProduct()->getSku()) ?>"></ff-campaign-product>
<ff-campaign-product product-id="<?= $escaper->escapeHtmlAttr($viewModel->getProduct()->getSku()) ?>"></ff-campaign-product>
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/** @var Magento\Framework\View\Element\Template $block */
/** @var Magento\Framework\Escaper $escaper */
?>
<ff-campaign-shopping-cart record-id="<?= $escaper->escapeHtmlAttr(implode(',', (array) $block->getData('record_id'))) ?>"></ff-campaign-shopping-cart>
<ff-campaign-shopping-cart product-id="<?= $escaper->escapeHtmlAttr(implode(',', (array) $block->getData('record_id'))) ?>"></ff-campaign-shopping-cart>

0 comments on commit 382aa32

Please sign in to comment.