Skip to content

Custom option (Required type) price is not included in product display price #25299

Open
@adarshkhatri

Description

@adarshkhatri

I just noticed, by default required custom option's price is not added to product display price.

For example:
Product Price: $100 (config item's min price)
Custom Option 1: Required: $10

Product price displayed as $100 in the category as well as the view page.

Because Custom Option is required, the customer will need to pay min of $110 to buy this item.

But displaying only $100 is misleading.

Any suggestions on this?

Preconditions (*)

  1. Magento 2.3.x & 2.3-develop
  2. Config item (color: Black, Red)
  3. Price $100
  4. Custom option (required, Option 1: Price $10, Option 2: Price $20)
  5. Assign this product to a category

Steps to reproduce (*)

  1. Go to product associated category OR
  2. Go to the product view page.

Expected result (*)

We need to display the price on the storefront in a different format, something similar like we are currently doing for configurable or bundle products.

Example:

  1. "As low as $110" if there is only one available required option or "From $110 to $150" if there are a couple of options available. The calculation formula for these prices should be the following:
Final Min Price Formula: 
Min(Regular Price, Special Price) + Sum(Min price per each required custom option)
Final Max Price Formula:
Min(Regular Price, Special Price) + Sum(Max price per each required custom option)

Actual result (*)

  1. Display price is $100

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CatalogComponent: ConfigurableProductIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: ready for devReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.feature request

    Type

    No type

    Projects

    Status

    Ready for Grooming

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions