@3dsource/metabox-front-api
    Preparing search index...

    Interface UniversalConfiguratorProduct

    Represents a product within the universal configurator.

    Wrapper linking a product to its position and label inside the configurator's product list. Each entry in UniversalConfigurator.products is of this type.

    Iterate UniversalConfigurator.products to build a product selector. Use label for display text, productId to switch products via SetProduct, and product for thumbnails and slot details.

    Use productId (not product.id) when calling new SetProduct(productId). Sort by position if rendering a product list to match the order configured in MetaBox admin.

    interface UniversalConfiguratorProduct {
        __typename: "UniversalConfiguratorProduct";
        label: string;
        position: number;
        product: Product;
        productId: string;
    }
    Index

    Properties

    __typename: "UniversalConfiguratorProduct"

    Represents object typename for the product.

    label: string

    Display label for the product.

    position: number

    Position index of the product.

    product: Product

    The detailed product information.

    productId: string

    The product's unique identifier.