Stack Exchange network consists of 178 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
tried below script but it is not applied discount for first Order. Any suggestions?
Magento 2: How to implement First Order Discount?
My requirement was to apply the discount on the first three orders. I have achieved this by creating a promotional rule. Cart Price Rule is the best way.No Need of coding here.
Please check the attached screesnhot.
Required, but never shown