Skip to content

magento2.4.3

Auto Added by WPeMatico

Magento 2.4.3-p3 extension attribute not available in API

I’m trying to add a custom order attribute (BC_Pdfinvoice) and make it available in the Order API response. I created a module and added an extension_attributes.xml file here Vendor/Module/etc/extension_attributes.xml: <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:Api/etc/extension_attributes.xsd”> <extension_attributes for=”MagentoSalesApiDataOrderInterface”> <attribute code=”BC_Pdfinvoice” type=”string”/> </extension_attributes>… Read More »Magento 2.4.3-p3 extension attribute not available in API

Error upgrading from 2.4.3 to 2.4.4

After changing the version from 2.4.3 to 2.4.4, I’m getting the following error when trying to execute “php bin/magento setup:upgrade” or “php bin/magento setup:di:compile”: In ClassReader.php line 34: Class DfFrameworkLoggerHandler does not exist Any idea what causes this error?

Magento 2: How to get payer id to be used in setPaymentMethodOnCart mutation for paypal express checkout

I am trying to get the Payer Id to be used in setPaymentMethodOnCart mutation but don’t know how to get that. mutation { setPaymentMethodOnCart(input: { cart_id: “rMQdWEecBZr4SVWZwj2AF6y0dNCKQ8uH” payment_method: { code: “paypal_express” paypal_express: { payer_id: “<PayPal_PayerID>” token: “<PayPal_Token&gt” } } })… Read More »Magento 2: How to get payer id to be used in setPaymentMethodOnCart mutation for paypal express checkout

Translate “Add to Cart” button on Recently Viewed widget

I think “Add to Cart” button recently viewed is hard coded. Can anyone confirm this? I did find a guide about changing the words in app/design/frontend/VendorName/ThemeName/Magento_CatalogWidget/templates/product/widget/content/grid.phtml but the codes he is referring to does not match what i have.