Questions tagged [dynamic-blocks]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers

how to call address dynamic block in template file with arguments?

Hi here is my code in the layout XML file. <block class="Magento\Customer\Block\Address\Edit" name="customer_address_edit" template="Magento_Customer::address/edit.phtml&...
0 votes
0 answers

The block is not displaying after loading the page

Please help solve this puzzle. I'm created after plugin, after load category widget. The collection of items must be used in the js. The idea is to simply intercept the collection in the plugin, load ...
1 vote
0 answers

Magento 2 Commerce Customer Segmentation Non Login User

I am working with Magento 2 commerce (2.4). We need to show different content for users coming from different locations (We have different content for each state). And I am planning to use Magento 2 ...
2 votes
2 answers

How to convert layout block to cms block?

I have created a block programmatically which shows category name and image on home page. Following is my code: cms_index_index.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3....
  • 427
1 vote
2 answers

How to add CMS Dynamic Block Programmatically using UpgradeData in Magento 2?

I'm trying to create a dynamic block by making an UpgradeData on magento 2.3, someone knows how this do it?
1 vote
1 answer

How do you configure a dynamic block for a customer segment in M2C?

Using Magento Commerce (nee EE) 2.3.1, how do you configure a Dynamic Block to render for a specific customer segment? The stock Magento documentation:
  • 714