2
Magento 2の商品詳細ページに最近閲覧した商品を表示したい。Magento verを使用しています。 2.1.2。表示方法を教えてください。あなたのcatalog_product_view.xml
ファイル内 おかげMagento 2で最近商品を表示した商品の詳細ページ
Magento 2の商品詳細ページに最近閲覧した商品を表示したい。Magento verを使用しています。 2.1.2。表示方法を教えてください。あなたのcatalog_product_view.xml
ファイル内 おかげMagento 2で最近商品を表示した商品の詳細ページ
は
<block class="Magento\Reports\Block\Product\Widget\Viewed" after="-" name="recently_viewed" cacheable="false" template="Magento_Reports::widget/viewed/content/viewed_grid.phtml">
<action method="setPageSize">
<argument name="page_size" xsi:type="number">4</argument>
</action>
</block>
にブロックの下に追加します