Displaying the order discount on the success page in Magento 2
In this article, we will implement a Magento plugin to display the order total discount and the discount percent total on the order success page.
In this article, we will implement a Magento plugin to display the order total discount and the discount percent total on the order success page.
In this article, we will see how to get the rule by the coupon code in Magento 2.
Magento database structure can be very complex. This high complexity is especially true for the sales_order tables. These tables contain many columns with different numerical values, so fetching the data you need can be challenging.
In this article, we will show how to fetch the row total and the unit total, including discount, including or excluding tax, from the sales_order_item table in the Magento 2 database. We will show how to do that using an SQL query or programmatically.
This article will show how to get the coupon code from the order.
We are excited to announce that we are now a Hyva tech partner!.
In this article, we will see how to add a new column to the promotion rules grid (cart rules grid) in Magento.
In this article, we will see how to apply custom coupon code in magento cart programmatically. For that, we will write a simple Magento plugin that programmatically applies a specific coupon when a user adds a particular product to the cart.
In this tutorial, we will show how to trigger a refresh in the mini-cart and the cart totals block.
In this tutorial, we will add a new field "Discount" to the mini cart. That is, if the customer got a discount in his cart, he would now be able to see it in the mini cart.
We are super excited to announce that we are now a part of ExtDN.
By joining ExtDN, we hope to improve the quality of our extensions further, get some insights about good development practices from other extension developers, and to contribute to the Magento ecosystem.