Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-4400

Improve Product Specialist UX by implementing better error messages caused by linking SKU to product option value

    Details

      Description

      This relates to confusion that generic "Please provide valid SKU" message causes. This message is displayed in several cases described in Product Bundles Requirement:

      https://grow.liferay.com/people/Product+bundles

      Here is slack conversation:

      https://liferay.slack.com/archives/G9CMBBA9H/p1595404402498800

       

      Definition of Done:

      1. If user links option value to other product bundle's SKU display message that it is not allowed to link Product Bundle as option value (REQ COMMERCE-3718 Product bundle option value can not link to another product bundle (nesting product bundles is not supported)
        You cannot link an option value to a product bundle.
        
      2. If user links option value to product which has required option display message that requested product has required options and it is not allowed (REQ COMMERCE-3976 Product bundle option value can not link to product which has required option)
        You cannot link an option value to a product that has required options.
        
      3. If user links option value to product which has subscription enabled display message that requested product has activated subscription (REQ COMMERCE-3977 Product bundle option value can not link to product instance which has subscription enabled)
        You cannot link an option value to a product that has a subscription enabled.
        
      4. If user links option value to product which cpInstance become workflow INACTIVE display message that requested product is not APPROVED anymore (REQ COMMERCE-3562 Product bundle option where priceType==dynamic can not link to another product instance if instance is not APPROVED)
        You cannot link an option value to a product that is not approved.
        

       

       

        Attachments

          Activity

            People

            • Assignee:
              igor.beslic Igor Beslic
              Reporter:
              igor.beslic Igor Beslic
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package
                Gemini