Magento 2 Create custom order status and assign it to state programmatically in Magento 2 Lets imagine you are building a custom checkout flow or adding custom functionality that will integrate an ERP system to order processing flow. In order to achieve the business logic it is likely you will need to introduce a new order state and status.
Magento 2 How to create an editable customer attribute in Magento 2 In this article we will explore how to create a customer EAV attribute and how to control where is available in the store. In Commerce version store admins are able to add the attributes same as for other EAV types. For community version this
Magento 2 Magento 2 - How to add custom free shipping based on cart conditions and hide other methods if applicable In this article we are going to create a custom shipping method which will shown only once the cart grand total value reaches over a configured value. In addition we
Magento 2 How to configure and pre-select default payment method in Magento 2 checkout In this article we will explore how to create a module that allows you to configure and pre-select any payment method in Magento 2 checkout. Often times it is important
Magento 2 Create CMS block in Magento 2 using data patch In this tutorial we will show how simple it is to use data patches to create and update content on your Magento 2 store. Using data patches is preferable for
How to hook into shipping step address save Magento 2 We will do this by writing a mixin that hooks into the shipping information save method. If you are unsure what a mixin is you may want to start by inspecting the default documentation. In short javascript mixin is a way to customize a
Magento 2 How Magento 2 generates javascript translations during static content deploy Lets dive deeper into how Magento 2 generates the translations. Lets start at the very surface - the one thing we can see from the browser. We know that in
Magento 2 Magento 2.3.0 javascript translations bug If you have been working with Magento 2.3.0 version you may have noticed weird behavior for js translations. In this version there was a bug introduced which was
whatsapp WhatsApp Privacy Policy update is not that big of a deal There has been a large fuss on how the new WhatsApp Privacy Policy updates affect the users. Users have to accept the terms and service of this new policy by February 8, 2021, or delete their accounts - sounds rather drastic right? It really
golang Creating git version history for composer packages First thing you may be wondering why this is necessary? Composer packages are sometimes based on projects where history or change log is not publicly available. Or perhaps you do
core web vitals How to debug LCP Core Web Vitals First step of understand what is core web vitals should be to refer to the official page. In short, core web vitals are a new Google metrics that will be
wordpress Make copyright year dynamic in Wordpress It is common to have a year in websites copyright section. Often times you will forget about this area for months or even years - meaning the date often gets
Magento 2 Add mass action in Magento 2 admin product grid In this article we will explore how to add a mass action in admin product listing. First you will need to define a new mass action in listing xml. We will an action - update_custom_prices. <?xml version="1.0" encoding="UTF-8"
Magento 2 Magento 2 add custom attribute to recently viewed products widget First you will need to create a module. Create the directory structure. In our case it is going to be app/code/Techflarestudio/Recently First you will need to register the module: <?php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE,
How to automatically start Guake terminal on startup Ubuntu 20 There are various ways this can be achieved. By default Guake offers and option to Start Guake on login however this does not always work. There are a few options
Migrate Joomla to Wordpress using docker in 15 minutes In this post we will be using an old Joomla site and migrating the posts, categories, tags to a fresh Wordpress installation. We will install the site using Docker image
Use copy to clipboard button in Ghost When reading posts about technical features it is nice if you are able to follow along and experiment. Copy to clipboard button for snippets is a useful feature that helps following along. In the official Ghost blog it is suggested to use PrismJS. In
Docker cheat sheet List of simple commands to use for docker management. Run a container docker run container_name Bash into container docker exec -it container_name bash Bash into container as root docker exec -it --user root container_name bash Run a command for container, for
Reset password for Ghost from database In case you have forgotten your Ghost admin user but still have access to database you can use the following 2 steps to reset your password: Connect to your databaseFind the user you want to reset the password to select * from users; Generate the
aws Serverless using Lambda In this article we are going to explore AWS Lambda and ways we can utilize it for daily automation tasks. We will observe our CodeCommit repository and send Slack notifications
aws Get started with AWS CodeCommit In this article we will kick-off series about using Amazon web services and try to explore the possibilities of developer tools such as CodeCommit. Eventual goal is to have a full continues integration and delivery system using AWS. This article is the bare starting
machine learning Recognize toxic messages in slack using machine learning Today we are going to create a slack integration to recognize toxic messages. We will use a public machine learning data model. The end result will be something like this:
nodejs Setup a simple api using node js and express Today we are going to explore a rather simple but very useful feature that we can build using Node.js. What is an api? Simple put an api is an
ad-blocker Detect ad-blocker in Ghost If you are using Google Ad-sense or some other ad generated revenue then you are likely familiar with ad-blockers and what it means for your business. Ad-blockers are great for
git How to use git hooks for everyday tasks Git hooks is a feature that does not get talked about enough. Basically hooks are a way to trigger an action during certain parts of git's execution. By default hooks are placed in .git/hooks. You can change this in git config. I wont