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

It is possible to set product bundle instance as option value

    Details

      Description

      In Product/Options/Option Values
      when editing option value it is possible to select SKU of another product bundle.

      Expected:
      Autocmplete should should serve only NON Product Bundlue SKUs

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

      Update: In current implementation setting incompatible SKU as option value results in Error message. This is not good user experience but still prevents unwanted link cycles between product and option values.

      Our API needs to be updated to filter out SKUs who's cpDefinition has childCPDefinitions:

      com.liferay.commerce.product.service.impl.CPDefinitionLocalServiceImpl#hasChildCPDefinitions
      

      We need API update to benefit from this service method and keep good performances - is it special filter parameter or special API call path??

        Attachments

          Activity

            People

            Assignee:
            pietro.bocale Pietro Bocale
            Reporter:
            igor.beslic Igor Beslic
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2.1.2