I want to extend Recently Viewed Products widget so I can add review attribute.
After creating this file: Vendor/MyModule/view/frontend/ui_component/widget_recently_viewed.xml
:
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
<columns name="widget_columns">
<column name="review" component="Vendor_MyModule/js/product/review" sortOrder="4" displayArea="details-area">
<settings>
<label translate="true">Review</label>
<bodyTmpl>Vendor_MyModule/product/review</bodyTmpl>
</settings>
</column>
</columns>
</listing>
and clear cache, I got this error in browser console:
Uncaught ReferenceError: Unable to process binding "if: function(){return isMsrpApplicable($row()) }"
Message: isMsrpApplicable is not defined
How to properly extend this widget?