@combeenation/custom-code-sdk
    Preparing search index...

    Type Alias Shopware6FinishJson

    type Shopware6FinishJson = {
        products: {
            accessories?: {
                isSingleCartItem: boolean;
                productId: string;
                quantity: number;
            }[];
            main: {
                customFields?: ProductCustomFields[];
                imageUrl?: string;
                price: number;
                productId: string;
                productText?: string;
                quantity: number;
                title?: string;
            };
        }[];
    }
    Index

    Properties

    Properties

    products: {
        accessories?: {
            isSingleCartItem: boolean;
            productId: string;
            quantity: number;
        }[];
        main: {
            customFields?: ProductCustomFields[];
            imageUrl?: string;
            price: number;
            productId: string;
            productText?: string;
            quantity: number;
            title?: string;
        };
    }[]

    Type Declaration

    • Optionalaccessories?: { isSingleCartItem: boolean; productId: string; quantity: number }[]

      Additional predefined Shopware products which will be added to the cart (no custom price/image/title)

    • main: {
          customFields?: ProductCustomFields[];
          imageUrl?: string;
          price: number;
          productId: string;
          productText?: string;
          quantity: number;
          title?: string;
      }
      • OptionalcustomFields?: ProductCustomFields[]
      • OptionalimageUrl?: string

        Url to the image which will be used in the cart

      • price: number

        Gross price of the configured product WITHOUT accessories

      • productId: string

        SKU id from your shop system

      • OptionalproductText?: string

        New description of your product

      • quantity: number
      • Optionaltitle?: string

        New title of the product