Skip to content

Catalog pricerules are not working with custom options as expected in Magento 2.3.0 product details page #22856

Closed
@dcwnaveen

Description

@dcwnaveen

Catalog price rules are not working with custom options as expected in Magento 2.3.0 product details page. We created the catalog price-rule 10% discount for some x products and expecting the results like a 10% discount on total price( (product price + options price) * 10%). But results are showing discounted price + custom options price.

Preconditions
Magento 2.4-develop
PHP 7.3

Steps to reproduce

  1. Go to Admin->Marketing->Catalog Price Rule->Add New Rule;
  2. Fill all required fields and set Discount Amount to 10 % for ex.;
    Screenshot from 2020-06-10 12-30-57;
  3. Click on Save and Apply button;
  4. Create simple product (Price = 1000 $) with a drop-down custom option (Size for example);
    Options for Size:
  • Small price is 100$,
  • Medium price is 200$,
  • Large price is 500$.

Screenshot from 2020-06-10 12-34-54

  1. Go to Storefront;
  2. Open created before product;

Expected Result

We are expecting the 10% discount on the total price (product price + options price) * 10%). For:

  • Small - 990$,
  • Medium - 1080$,
  • Large - 1350$

Actual result

Its showings final prices like:

  • Small - 1,000$,
  • Medium - 1,100$,
  • Large - 1,400$
    Screenshot from 2019-05-13 12-51-09

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: CatalogCDIssue recommended for the contribution dayComponent: CatalogComponent: CatalogRuleComponent: PricingEvent: Distributed CD India 2020Issue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneReported on 2.4.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S1Affects critical data or functionality and forces users to employ a workaround.Triage: DoneHas been reviewed and prioritized during Triage with Product Managers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions