How to Add External CSS and JS in Magento 2
Magento, Magento 2

How to Add External CSS and JS in Magento 2

In this tutorial, Today I will explain to how to add external css and js in Magento 2. If you want to add third party css or js into your module or theme then, you need to use src_type=”url” attribute using this below way : You may also like this : How to Use Grunt in Magento 2 Different ways…

Continue Reading

How to Use Grunt in Magento 2
Magento, Magento 2

How to Use Grunt in Magento 2

In this tutorial, Today I will explain to how to use grunt in Magento 2. Grunt is a Contemporary JavaScript task runner. The purpose of Grunt is to simplify repetitive tasks by automating compilation, minification etc. In Magento 2, Grunt will helpful for you to deploy your theme again and again on single changes in less file. Using grunt you…

Continue Reading

How to Get Applied Cart Rule for Quote in Magento 2
Magento, Magento 2

How to Get Applied Cart Rule for Quote in Magento 2

In this tutorial, Today I will explain to how to get applied cart rule for quote in Magento 2. Cart price rules is special rules with the specific condition which you define in the configuration. The customers can able to apply coupon code/discount on the cart page based on configuration. So, if you want to get details of the applied…

Continue Reading

How to Create Order Programmatically in Magento 2
Magento, Magento 2

How to Create Order Programmatically in Magento 2

In this tutorial, Today I will explain how to create order programmatically in Magento 2. Sometimes, when you want to create an order by the script at that time, you need to create an order programmatically. Here, I created the script to create order programmatically. You can create quote also programmatically using this code also. You may also like this…

Continue Reading

How to Get Payment Method Information from Order in Magento 2
Magento, Magento 2

How to Get Payment Method Information from Order in Magento 2

In this tutorial, Today I will explain to how to get payment method information from order data in Magento 2. To get payment method information, you need to inject \Magento\Sales\Api\OrderRepositoryInterface class in your construct. Let’s see the example to get payment method information. You may also like this : How to Add Custom Column to Order Grid in Magento 2…

Continue Reading