Skip to main content

Questions tagged [di]

Denotes questions related to Dependency Injection in Magento 2.

0 votes
0 answers
37 views

Adobe Commerce ver. 2.4.6-p2, multi-site instance Inheriting code base with numerous custom modules that are not scoped - but need to scope them as individual sites are migrated to new frontend stack ...
emp1211's user avatar
1 vote
0 answers
110 views

How do you remove a Type and the associated arguments from a di.xml file? Specifically, I would like to remove the "Apple Pay" button from the Shopping cart. I have found the below code, ...
A. Andersen's user avatar
0 votes
1 answer
249 views

If we want to add a chiid in page builder like slider how will we inject the child using di.xml
Rana Zain's user avatar
  • 731
1 vote
1 answer
341 views

We are reading the Magento configurable configuration inside an API call: private function getSpConfig($product) { if ($product->getTypeId() != 'configurable') { return ...
Alex's user avatar
  • 13.5k
0 votes
1 answer
75 views

Example: http://localhost/admin/admin/user/edit/user_id/5/key/db1082c352e51cfb817ce0335dd060cf6e953568daf2da25cca24eadb04dc884/ I want to return '...
Justin Collins's user avatar
0 votes
1 answer
1k views

I'm using magento v2.4.3, i tried to override \Magento\Customer\Model\Address\AbstractAddress like this: app/code/Vendor/Module/etc/module.xml <?xml version="1.0" ?> <config xmlns:...
blue's user avatar
  • 138
0 votes
2 answers
105 views

Can someone explain me what does this code does, when we need this. di.xml <type name="Magento\Wishlist\Helper\Data"> <arguments> <argument name="...
ravichandra's user avatar
0 votes
0 answers
2k views

I was trying to create an admin grid in the adminhtml trying to learn how they function and work and I ran into an issue following this guide: Mageplaza. I've been trying to debug where the issue is ...
Zyzzx's user avatar
  • 81

15 30 50 per page
1
2 3 4 5
14