I want to make the navigation bar to be sticky. I completed it in the below way. Now I want to make the logo to display in the navbar when we scroll. I don’t know how to add the logo to the navbar via jquery. I tried this way but […]
Magento1
We have an attribute for some of our products that has hundreds of empty values. If you try to make and save any changes to any values, it kicks you back out to the dashboard and the changes are not saved. Is there a way to delete all empty values […]
I was able to run Magerun and suddenly is stopped working, and this error message showed up. Warning: file_exists(): Unable to find the wrapper "phar" - did you forget to enable it when you configured PHP? in phar:///app/var/n98-magerun2.phar/vendor/composer/ClassLoader.php on line 384 I’m pretty sure it’s not related to phar package […]
I can get widget parameters in the widget class like $this->getWidgetTitle() but here widget_title has been declared in widget parameters in widget.xml file, I want to get the widget instance id too, but the getData() method doesn’t return anything like this. Any kind of help is appreciated. Thanks
I have upgrade magento 2.3.0 to magento 2.4.3, everything is working perfectly but when selecting CCAvenue online payment, one iFrame is showing below to enter credit card information with “Payment Information” header before proceeding which was not coming before. How to remove this iFrame?
We have problems with images in frontend side. PHP Fatal error: Uncaught TypeError: Argument 1 passed to MagentoCatalogBlockProductImageFactory::create() must be an instance of MagentoCatalogModelProduct, array given, called in … If change “return $this->imageFactory->create($data);” in this method for “return false;” – the error disappears. But we have a new problem in […]
What is the reason behind the error as below: Compilation from source: LESS file is empty: frontend/vendor/theme/en_GB/css/style.less I am using a custom theme which inherits from default blank theme. This error is getting logged in exception.log file on every page accessed on frontend. I even copied the _style.less file from […]
I am attempting to add some tabs to my content. I found the tabs control in the UI library and thought they’d be ideal. Unfortunately, they do not work. The tabs cannot be changed from one to another. In fact, even the tabs in the UI library docs don’t work […]
I am trying to download a sample CSV file in a custom module. Located my sample CSV in vendor/modulename/Files/sample/mycsv.csv <a id="sample-file-link" href="Files/sample/mycsv.csv" download>Download Sample File</a>