Skip to main content
2 votes
Accepted

Load widgets in specific position on category list page - Magento2.4

Try the code below. I've created a custom module that provides a content area and a position field. In this field, you can decide on your content and also specify a position where you want to display ...
Msquare's user avatar
  • 9,143
1 vote

How To Add Custom Attribute (PRICE and SKU) Data To Recently Viewed Products Widget

For that you can override the widget.xml for catalog_recently_viewed widget and add your parameters like below. [Vendor][Module]\etc\widget.xml <?xml version="1.0" encoding="UTF-8&...
Nikhil Ajani's user avatar
1 vote

How To Add Custom Attribute (PRICE and SKU) Data To Recently Viewed Products Widget

Try the below code and I tested it working fine. Create one module for that below is the code. app/code/MageMohit/CustomAttRecentlyViewedWidget/registration.php <?php use Magento\Framework\...
Mohit Patel's user avatar
  • 3,913
1 vote

Load widgets in specific position on category list page - Magento2.4

The way I see it, layout updates would be a worse and less extensible way of doing it. It would be better if you can just add an additional field/parameter in the widget and have that drive the ...
Vivek Kumar's user avatar
  • 5,665
1 vote

custom widget to retrive price

You can create one block file in your custom module like path app/code/YourVendor/YourModule/Block/PriceWidget.php <?php namespace YourVendor\YourModule\Block; use Magento\Framework\View\Element\...
Mitul Vadalia's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible