Docker is widely used for WEB development. However on Mac running such a heavy application as Magento 2 in Docker is not very smooth. Because Docker runs on Linux much better I tried setup everything on remote Ubuntu machine and have only IDE on Mac. In this article I would like to share my experience with configuring xDebug on such setup.Continue reading “Configure xDebug on remote docker container”
Magento 2 – Reset Expired Admin Password
It is always a good practice to change your password from time to time. Magento 2 will remind you to do it or even force you to do it if you haven’t updated appropriate settings in configuration:
However if it is Dev website it could be not such necessary to update password. Continue reading “Magento 2 – Reset Expired Admin Password”
Debugging PHP app using Xdebug and Remote Docker PHP Container
No so long ago I’ve started using Docker as my primary development environment. Before that I had everything (WEB-server, PHP, MySql, etc) installed on my Mac and being run natively. Docker brings more flexibility and it is just fun. So now my setup includes Mac OS with PhpStorm installed and remote Ubuntu server running Docker containers needed for my WEB application.
Continue reading “Debugging PHP app using Xdebug and Remote Docker PHP Container”
Show out of stock options on product page in Magento
By default in Magento if simple product is out of stock it will not be shown on configurable product page as option. This article will help you to show out of stock options on product page.
Continue reading “Show out of stock options on product page in Magento”
Delete duplicate product images in Magento
In this article I would like to share a script for deleting duplicate images in Magento.
Continue reading “Delete duplicate product images in Magento”
Script to set Base Image, Small Image and Thumbnail in Magento
Sometimes after products import in Magento you may face with situation where images were imported successfully but haven’t been set as Base Image, Small Image or Thumbnail. Script below will help you to fix it.
Continue reading “Script to set Base Image, Small Image and Thumbnail in Magento”
Custom actions in Magento Catalog Price Rules. Price rule based on cost.
Magento Catalog Price Rules is great feature that can be used to significantly increase sales. It allows you to set customer group discounts, season sales discount, etc. The main difference from Shopping Cart Price Rules is that customers are able to see discounted prices on catalog pages. To make rules even more effective I would like to share an approach of adding custom actions to rule. Continue reading “Custom actions in Magento Catalog Price Rules. Price rule based on cost.”
Magento. Fix Paypal “Unable to process payment”
When you enable Paypal payment method in your Magento store for the first time it might not work as expected. Pressing Place Order button redirects you to Paypal, but instead of login form you get error “Unable to process payment. Please contact the merchant as the shipping address provided by the merchant is invalid, and the merchant has requested that your order must be shipped to that address.”. Below you can find solution to your problem. Continue reading “Magento. Fix Paypal “Unable to process payment””