Skip to content

Proper formatting #693

@redkrupp

Description

@redkrupp

Hello,

What would be the proper syntax for the following feed:

<Title>Test Import Menu</Title>
    <contentBuilder>

        <MatrixBlock>
            <restaurant>Test Import</restaurant>
        </MatrixBlock>

        <MatrixBlock>
            <heading>Appetizers</heading>
        </MatrixBlock>

        <MatrixBlock>
            <description>Tasty appetziers</description>
        </MatrixBlock>

        <MatrixBlock>
            <subheading>Subs and sandwiches</subheading>
        </MatrixBlock>

        <MatrixBlock>
            <description>Made To Order Sandwiches</description>
        </MatrixBlock>

        <MatrixBlock>
			<menu>
				<items>Chicken Salad</items>
				<itemsDescription>Sandwich</itemsDescription>
				<itemsPrice>2.49</itemsPrice>
				<items>Twisted Brunch</items>
				<itemsDescription>Grilled</itemsDescription>
				<itemsPrice>1.49</itemsPrice>
			</menu>
        </MatrixBlock>

    </contentBuilder>
</entry>

Currently it creates defined menu items but imports only the first element's price and description across all entries.

Please advise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions