so the question is how we can sort product at the categories by stock status. Magento does not have any config for this because of that we should write several line codes.at the first, we need to add an observer to change default sorting. Let me add XML to define the observer classes. Okay let…
Month: November 2020
Linux find large files to remove
I have an SSD 128G hard so sometimes I need to remove files to eras space to my new project. for that, I need to find large files and remove them. by this code you can find them / home/ : is directory that you want to find files there -type: determine type file to…
Hello world
Should i say hello? it’s not my first blog and actually it’s not last i just wanna share my experience with Magento at this blog or maybe a little more and write something about docker Linux PHP