Skip to main content

Questions tagged [plugin]

Denotes questions about Magento 2 Plugins (BeforePlugin , AfterPlugin and AroundPlugin). Plugins are also known as interceptors in the Magento documentation.

0 votes
0 answers
20 views

I am trying to use plugins on the following Magento 2 core methods: \Magento\Bundle\Model\Product\Type::checkProductBuyState() \Magento\Bundle\Model\Product\Type::getOptionsIds() \Magento\Catalog\...
MagePsycho's user avatar
  • 4,672
0 votes
0 answers
36 views

I am looking for a simple direct cryptocurrency payment plugin. That is, a plugin that adds a payment option which : Lets the customer select a cryptocurrency Generates a key pair (or, to keep the ...
color2v's user avatar
0 votes
0 answers
36 views

When I added __construct whatever I get an infinite loader. public function __construct(ResultFactory $res){ $this->anotherVariable = $res; } my <?php namespace Vendor\Module\Plugin; use ...
Pavel's user avatar
  • 1
1 vote
1 answer
63 views

I want to add the html in the image on listing page. I want to use plugin . How can it be achieved.I want to add the sticker label for sale new product and out of stock depending upon the condition ...
M2Dev's user avatar
  • 60
0 votes
0 answers
37 views

This is my PLugin : <?php namespace Vendor\Module\Plugin; use Magento\Sales\Api\Data\OrderItemExtensionFactory; use Magento\Sales\Api\Data\OrderItemInterface; use Magento\Sales\Api\Data\...
Rana Zain's user avatar
  • 731
2 votes
1 answer
445 views

I've created a plugin in Magento 2.4.5 to overwrite Magento\CatalogSearch\Model\Layer\Filter\Price 's method. <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/...
Yaroslav's user avatar
0 votes
2 answers
100 views

I am new to Magento and following a course, yet some things hold me back. I really want to learn it but my only duties are as a frontend developer. If you could guide me through this problem it would ...
HakunaMatata's user avatar
1 vote
2 answers
163 views

Why is my plugin not getting called? app/code/Company/Configurator/etc/module.xml: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
Black's user avatar
  • 3,409

15 30 50 per page
1
2 3 4 5
42