Skip to main content

Questions tagged [override-model]

0 votes
1 answer
47 views

I tried to override InvoiceSender (in /app/code/UFS/Sales/Model/Order/Email/Sender/InvoiceSender.php) but it doesn't work and I don't understand why. I added "'created_at_formatted' => $order-&...
Magento_Dev's user avatar
1 vote
1 answer
325 views

I have Magento enterprise version 2.4.5-p1, I am getting following error in the system.log Error:- .CRITICAL: Error: Cannot instantiate abstract class Magento\Framework\Model\ResourceModel\...
Mitul Vadalia's user avatar
0 votes
2 answers
159 views

I know how override the normal class but now i try to override the abstract class [ Magento\Sales\Model\Order\Email\Sender.php ] . i have override the Sender.php file in custom module but its not ...
Mohit Thakur's user avatar
0 votes
3 answers
885 views

I want to make changes in function estimateByAddressId() which is public method. I tried following : app/etc/di.xml also tried in app/etc/frontend/di.xml <preference for="Magento\Quote\Model\...
Jayshree's user avatar
0 votes
1 answer
412 views

I am trying to override the vendor/magento/module-inventory-in-store-pickup/Model/GetPickupLocations.php file I have copied it to app/design/frontend/Magento/child_theme/Magento_InventoryInStorePickup/...
miller75's user avatar
  • 429
0 votes
1 answer
380 views

I need to override Magento\Sales\Model\Order\Pdf\Items\Invoice\DefaultInvoice.php file to render a custom row in Magento 2.4.4 I tried with preferences like <preference for="Magento\Sales\...
Monark Bhawani's user avatar
1 vote
0 answers
218 views

I want to override the (PHP sdk)file which is found in the vendor path the path is vendor/tamara-solution/php-sdk/src/Tamara/Model/Order/Order.php I am attaching my that specific php sdk composer....
Muhammad Abdullah's user avatar
0 votes
0 answers
273 views

di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/...
Gaurav Daware's user avatar

15 30 50 per page
1
2 3 4 5 6