1

Version: Magento 2.4 EE

I want to show the Recently Ordered Items Block in CMS page but when I call the block in page, the block is not displaying as expected and the page is empty.

In CMS page, my code is as follows

{{block class="Magento\Sales\Block\Order\Recent" template="Magento_Sales::order/recent.phtml"}}

The way which I have called the block is a right one?

Any help will be appreciated

1
{{block class="Magento\Sales\Block\Order\Recent" template="Magento_Sales::order/recent.phtml"}}

Your code is right. please check with cache flush and also check that you are logged in user.

If you still getting issue then check log files in developer mode.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.