I’m looking for a way to show the compare feature only on category or product pages but not at other pages like CMS pages. I found several ways to disable the enite compare feauture but can’t find-out how to remove the sidebar from other pages then category or product pages.
Daily Archives: December 20, 2021
public function execute() { $data = []; $file = $this->getRequest()->getFiles('refundcsv'); print_r($file);//display the input file name if (!isset($file)) { throw new MagentoFrameworkExceptionLocalizedException(__('Invalid file upload attempt.')); } $data = $this->csv->getData($file); //throws error print_r($data); foreach ($csvData as $row => $data) { if ($row > 0) { print_r($row); } } die(); } I want […]
I am working with Magento using apache, I don’t know why but suddenly MySQL server is stopped in xampp, when I am trying to click on the start button of MySQL it’s not starting it shows an Error: MySQL shutdown unexpectedly. When I open PHPMyAdmin I got this error (no […]
I have created one custom product attribute(bestseller). Now I want to sort by custom product attribute(bestseller) using search criteria builder sort by option but it’s not working for custom product attribute. FYI Sort by option working with price attribute but not working with custom product attribute option. Any help appreciate… […]
Wrote a batch file that was supposed to move folder & file structure from one parent directory to the other on each drive while also combining any existing folders only to find out the MOVE command isnt able to combine. Cannot use Xcopy or Robocopy because they copy the source […]
It is quite strange that on a couple of PCs with Windows 11, I’d try running some crypto mining software (as a hobby), and after 1 day or 2, the whole Powershell can be gone. (the app stopped running, and the Powershell disappeared too). And I think it is not […]
The power grid where I live is unreliable, and we frequently have interruptions (and presumably surges). I usually have a UPS protecting my desktop computer, but my prior UPS developed a fault and I stupidly ran my computer for 2-3 weeks on only a belkin power strip (which claims surge […]
I have a working MacOS 9.1 installation on a PowerMacintosh 6400/200 with a ton on old files and apps that I want to keep. While the old hardware is nostalgic, the machine is bulky and a pain to hook to any modern hardware. I’d like to either virtualize or physically […]
I’m using virtualbox 6.1 on windows 11 host and debian 11 guest, with the default Gnome window manager. After fresh install of the guest, the default resolution is 800 x 600, and I was able to easily change to 1680 x 1050 with no problem. I also installed the guest […]