I am trying to extend the MagentoFrameworkAppActionHttpPostActionInterface class and my construct looks like this: public function __construct( MagentoFrameworkAppActionContext $context, MagentoFrameworkViewResultPageFactory $pageFactory, MagentoFrameworkMessageManagerInterface $messageManager, MagentoFrameworkHTTPClientCurl $curl, MagentoFrameworkFileUploaderFactory $uploaderFactory) { $this->_curl = $curl; $this->messageManager = $messageManager; $this->_pageFactory = $pageFactory; $this->uploaderFactory = $uploaderFactory; return parent::__construct($context); } I am getting an error though on […]
Magento1
I have developed a module that use MagentoCatalogSearchModelResourceModelFulltextCollection but when I call the method i get this error: Error occurred when creating object: OctOctHelperSearchMagento, Argument 10 passed to OctOctHelperSearchMagento::__construct() must be an instance of MagentoCatalogSearchModelResourceModelFulltextCollection, instance of WeltPixelLayeredNavigationModelResourceModelFulltextCollectionInterceptor given. is it an override? can you skip this to use the […]
I have created Multi store and Multi store view i.e 1 is Default strore view 2 is UAE when i click on category from default store category shows but when i switch store for default to uae and click on category its show me 404 not found what should i […]
Whenever I try to move or remove a block, some elements on the page just seem to disappear. The cart page is being too complicated for me, I don’t understand why this is happening. The price next to the product adds up every time I move a block.
I am using Magento 2.4.2 and I am wondering if there is a way we can limit a customer to being able to use one gift card when they go to checkout?
i want to copy a file which is in a folder and copy to pub/media/product folder for product image… my current file directory pub/media/xyz/images/i/j/ijk.jpeg . i want this image to product folder. how to get that?
I have created custom Entity Type in Magento 2 but not showing Entity Attributes list after selecting entity type. Here is my code :- <?php namespace TestVendorModelExport; /** * Class Constructs */ class Constructs extends MagentoImportExportModelExportAbstractEntity { /** * Permanent column names */ const PATTERN_ID = 'pattern_id'; const NAME = […]
I run a Magento 2.4.2 store which contains only downloadable products but those products could be (with a extra charge) shippable. What’s the easy way to set them? Should I insert a downloadable product and then set a customizable option in it or what else?
I want to know when this table catalog_product_entity_gallery insert new record in magento?? I have uploaded multiple media images from different stores but this table have not entered any record