How to Apply Discounts Specifically on Magento 2 Custom Options?

Discounts in general are one of the best-proven ways to gain more customers and increase your brand reputation. It is crucial to integrate timely discounts in your marketing campaigns. Today we will look at the extent of the default discount feature in Magento as an eCommerce platform. Additionally, we will talk about custom options and how you can specifically provide discounts on custom options in Magento 2.   

Discounts in Magento 2

Magento 2 being one of the most popular eCommerce platforms worldwide provides a flawless discount feature by default. To create discounts go to Admin>Marketing>Promotions. Here, you can create discounts in two different ways:-

  • Catalog Price Rules:- Catalog price rules allow you to create custom discount rules with various conditions. It doesn’t involve creating coupons as the discounts created from this rule is directly displayed on the store before a product is added to the cart. Mix and match with the conditions to create your desired discounts. Learn more about Catalog Price Rules in Magento 2. 
  • Cart Price Rules:- With Cart price rules you can create two different types of discounts. The key thing is that cart price rules only trigger when products are added to the cart and the necessary conditions are met. You can either create discounts that trigger when products are added matching the specified discount criteria or a specific discount coupon code is applied in the cart. Learn more about Cart Price Rules in Magento 2. 

What are Custom Options? 

As the name suggests custom options are somewhat of an extra service offered with products at a certain price. For instance, some stores offer the custom option “Gift Wrap” with products. It adds extra value to products and increases the chances of conversion. Similarly depending upon the niche of your store several custom options can be offered with products. Some other examples can be personalization, engraving, etc. 

Discounts on Magento 2 Custom Options

As of yet the default discount feature of Magento 2 only extends to the total value of the cart. Even if you want to provide discounts on certain custom options only, it won’t be possible without adding a certain piece of code or a third-party extension. So even if you were to create a promotion rule for a certain product with a custom option the discount will only apply to the final price and not that custom option specifically. For instance, suppose a promotion rule offering a 10% discount is created for Duffle bag with a price of 50euros and a custom option “Gift wrap” with a price of 10euros. Now Magento 2 by default will apply a 10% discount on total cart value i.e 50+10=60 euros. Whereas we want the 10%discount on 10euros i.e our custom option. 

Benefits of Providing Discounts on Custom Options

Festive seasons and other important occasions are a high time for your marketing team to put in that extra bit of effort and bring in more conversions. Providing suitable offers and discounts are one way to go. Sometimes people are looking to purchase a product but are not sure about the decision so if they see some type of discount being offered psychologically they are more inclined to purchase that product. For instance, during festive seasons such as Christmas when people are lining up to purchase gifts for their loved ones, offering a free gift wrap custom option can surely increase your sales.  

Solution

After a thorough investigation, we have come to the conclusion that the only two solutions, for the time being, is to either hard code this feature by yourself or go for a third-party extension such as Magento 2 custom options discount by Scommerce Mage. It is very simple to use and allows you to create discounts on custom options quickly.  

Magento 2 Custom Options Discount – Step By Step Guide

Step 1:- Go to Admin>Catalog>Products and select the product for which you want to create custom options. Now from the Action column click “Edit”. 

Magento 2 promotions

Step 2:- Scroll down until you find the Customizable Options dropdown. Click on it and select Add Option to create a new custom option for this product. Provide the “Option title”, and choose from several options in “Option type” to create your desired custom option. Also, provide SKU for each custom option as we will use it to create our discount rules. For instance, we have created the gift wrap custom option in the below image:-

Magento 2 create custom options

Step 3:- Now go to Admin>Marketing>Cart Price Rules. Create a new discount rule as you would normally create for your default Magento. In order for this discount to be applied on the custom option, we will have to toggle “yes” for Only for selected Custom Option? in the Action dropdown. Finally, in the condition, we can select our custom option using two different methods either by using Custom Option title or Custom Option SKU. As in the example below, we have used the Custom Option title for our Gift Wrap custom option that we created in the previous step. Lastly, save and the discount will be available for the custom option.  

Magento 2 custom option discount

Conclusion

To provide discounts on custom options specifically you will have to either use a third-party extension or hard code this feature by yourself. As we have seen above using a third-party extension such as Magento 2 Custom options discount can be the fastest solution to achieve this feature effectively for your Magento 2 store.