Skip to content

Change Sales Price of all variant based on adding or remove any Values on Attributes and Variants page on Product Template #430

@aashutosh1710

Description

@aashutosh1710

module: product_variant_sale_price
version: 18.0

Steps to reproduce

  • Create one Product which having 4 or 5 Variant.
  • Change the Sales Price on the each Variants as per module functionality.
  • Now add or remove any Values on Attributes and Variants page on Product Template.

Current behavior

  • Override the Sales Price of all variant which we set variant specific and set same Sales Price on all the Variants.
  • Change Sales Price of all variant based on adding or remove any Values on Attributes and Variants page on Product Template.

Expected behavior

  • Custom set Sales Price did not requires to be override when adding or remove any Values on Attributes and Variants page on Product Template.

Example

  • Create one Product with Name as "Test Product 1", Sales Price as 33 $ and having Attributes and Variants as Color : Red, Green and Size : M, XL.
    So 4 variants are created each with 33$ as Sales Price
  • Change Sales Price of Variant RED, M to 44$, RED, XL to 55$, Green, M to 66$, Green, XL to 77$.
    So now each variant has a Different Sales Price as per this module functionality.
  • Go to Product Template > Attributes and Variants page > Adding New variant Color : Blue or same way Remove any variant like Color : Red and save it.
  • Go to all Product Variants related to "Test Product 1",
    Notice that all custom set price like Green, M to 66$, Green, XL to 77$ override with common price same as 33 $ of Product Template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions