Skip to main content
7 events
when toggle format what by license comment
Mar 6, 2020 at 6:54 answer added Nguyễn Hoàng Tuấn timeline score: 0
Mar 6, 2020 at 6:37 comment added Nguyễn Hoàng Tuấn ok. pls wait me
Mar 5, 2020 at 14:41 history edited MadzQuestioning CC BY-SA 4.0
added 627 characters in body
Mar 5, 2020 at 14:31 comment added MadzQuestioning @NguyễnHoàngTuấn yeah a little confusing. If you can provide any tutorial that would be much appreciated
Mar 5, 2020 at 14:07 comment added Nguyễn Hoàng Tuấn @@ quite confusing, ... You should read layout "catalog_category_view.xml" to know more. :(( Hope, it will help you.
Mar 5, 2020 at 14:04 comment added Nguyễn Hoàng Tuấn step 1. You should extend from layout "vendor/magento/module-catalog/view/frontend/layout/catalog_category_view.xml" step 2. Then, referenceBlock has identifier : as="product_list" and add your block in here. Suppose: <referenceBlock name="product_list" ifconfig="example/gift_registry/enabled"> <block class="ClassA" name="gift__button-add" template="Example_Gift::list/button-add.phtml"/> </referenceBlock> step 3. note: ClassA need to extends class "\Magento\Catalog\Block\Product\ProductList\Item\Block"
Mar 5, 2020 at 13:09 history asked MadzQuestioning CC BY-SA 4.0