Magento2 Custom Options Discount

Installation and User Guide for Magento 2 Custom Options Discount

Table of Contents

  1. Installation
    • Installation via app/code
    • Installation via Composer
  2. Configuration Settings for Custom options Discount
    • General Settings
  3. Adding Custom Options to Products
  4. Adding Cart Price Rules for Custom Options
    • Apply Cart Rule for all custom options available
    • Apply cart Rule for specific custom options
  5. Frontend Screengrabs
    • When "only for selected custom options is set to "Yes"
    • When "only for selected custom options is set to "No"
    • When "only for selected custom options is set to "Yes" and Conditions are set

Installation

https://docs.scommerce-mage.com/magento-2-extensions/installation-via-composer/installation-via-composer

Configuration Settings for Custom options Discount

Go to Admin > Stores > Configuration > Scommerce Configuration > Custom options Discount

General Settings

image (43).png

Adding Custom Options to Products

Login to your admin panel then go to Catalog > Products. Select your product and click edit from the action column. Scroll down to Customizable options. Click on add option to add a new custom option for the selected product.

image (44).png

Adding Cart Price Rules for Custom Options

Go to Marketing > Promotions > Cart Price Rules and click on Add New Rule.

image (45).png

Apply Cart Rule for all custom options available

Create your Cart Price Rule Normally. Then scroll down to Actions dropdown. Make sure Only for selected Custom Option? Is set to "Yes". This option will enable the cart price rule to be applied on the custom options. Make sure there are no conditions set.

image (26).jpg

Apply cart Rule for specific custom options

To create cart price rule for specific custom options you will need to add conditions in the Actions Column. For eg: - we have added a condition to apply discount only on the custom option that has custom options title as "Gift Wrap". So now the discount will only be available for the Gift wrap custom option. Similarly, you can create conditions based on custom options SKU and create your custom options discount.

image (27).jpg

Conditions available for custom options are custom options title and custom options SKU.

image (26) (1).png

Frontend Screengrabs

When "only for selected custom options is set to "Yes"

image (46).png

When "only for selected custom options is set to "No"

image (47).png

When "only for selected custom options is set to "Yes" and Conditions are set

image (48).png

If you have a question related to this extension please check out our FAQ Section first. If you can't find the answer you are looking for then please contact support@scommerce-mage.com.


Revision #3
Created 26 May 2025 10:28:20 by scommerce
Updated 24 October 2025 10:10:53 by scommerce