Skip to content

magento man

In my data-provider addFieldtoFilter() is not working with url param

I have made a grid in admin that is supposed to return a filtered collection based on a URL parameter lesson_id. DataProvider: <?php namespace VendorNameModuleNameUiDataProviderParticipants; use MagentoFrameworkAppRequestHttp; use VendorNameModuleNameModelResourceModelParticipantsCollectionFactory; class DataProvider extends MagentoUiDataProviderAbstractDataProvider { public function __construct( $name, $primaryFieldName, $requestFieldName,… Read More »In my data-provider addFieldtoFilter() is not working with url param

Stripe Warning Webhook

Can anyone know about this warning : how can I remove this warning? I have already execute webhook:configure command and add webhook at stripe manually also and this is multiwebsite please help me about this

mini_cart_product_thumbnail not sizing to values set in etc/view.xml

I have my image sizes set in my app/design/frontend/My_Design/My_Theme/etc/view.xml but for some reason, the values for mini_cart_product_thumbnail are not being used in the minicart. <view xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:Config/etc/view.xsd”> <media> <images module=”Magento_Catalog”> … <image id=”mini_cart_product_thumbnail” type=”thumbnail”> <width>76</width> <height>76</height> </image> … </images> </media>… Read More »mini_cart_product_thumbnail not sizing to values set in etc/view.xml

Magento 2 How to get the Order Extension_Attribute Value in AfterPlugin

How to get an order’s extension attribute value when creating the order via the API? For example to create an order I’m calling /rest/V1/carts/mine/payment-information with the following payload: { “payment_method”: { “method”: “cashondelivery” }, “email”: “[email protected]”, “billingAddress”: { “country_id”: “US”,… Read More »Magento 2 How to get the Order Extension_Attribute Value in AfterPlugin