I want to show you how we can add an extra amount to all shipping method price. My task was added an extra amount to shipping methods for someday. My customer wants to create a new module over the Amasty delivery date to add an amount for some special dates like mother day or valentine…
Category: magento
upgrade composer to version 2
In this post, I want to show you how you can upgrade the composer to the newest version (at this time, composer version 2 is the newest.). 1: we can remove the composer and install it again. If you are using Ubuntu 20 composer version 2 will install for remove (full remove) you can use…
Working with CSS at Magento 2
It’s too easy is the first thing when a Magento developer speaks about CSS, but sometimes it got trouble for example my last challenge was to remove a CSS because it was at the core of the Amasty module, and I could not change or override it. after a simple search, I found a way…
Magento 2 listing products by rating
Sometimes we need to sort the product by price or position or some attribute. I did all of them before but today my customer asked me for a new feature. sort the products by rating. I want to show it to you at Magento 2 listing products by rating post. Magento 2 listing products by…
Magento 2 sort in-stock product at the first
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…
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