🌳Cart and Checkout Folder Structure

Some layouts have a wrapper and an item file, while other layouts have a single Liquid file.

Checkout and Quote Forms use ordinary Form Layouts, despite using a different Liquid tag to output them. The marketplace_builder/views/partials/layouts/modules/module_14/checkout directory doesn't store a Checkout layout, instead it stores an "empty" file which will be displayed instead of Checkout if the Cart is empty.

marketplace_builder
└───views
    └───partials
        └───layouts
            β”œβ”€β”€β”€forms
            β”‚    └───form_1
            β”‚       β”‚    default.liquid
            β”‚       β”‚    custom_layout.liquid
            β”‚       β”‚    sitebuilder_layout.liquid
            β”‚       └─── sitebuilder_layout_components
            β”‚               array_custom.liquid
            β”‚               basic_payment.liquid
            β”‚               ...
            └───modules
                β”œβ”€β”€β”€module_5
                β”‚   └───user_orders
                β”‚       default.liquid
                β”‚       order_list_custom_layout.liquid
                └───module_14
                    β”œβ”€β”€β”€checkout
                    β”‚   β”œβ”€β”€β”€custom_layout
                    β”‚   β”‚    empty.liquid
                    β”‚   └───default
                    β”‚        empty.liquid
                    β”œβ”€β”€β”€components
                    β”‚   β”œβ”€β”€β”€add_to_cart_button
                    β”‚   β”‚   default.liquid
                    β”‚   β”‚   custom_layout.liquid
                    β”‚   β”œβ”€β”€β”€currency_changer
                    β”‚   β”‚   β”œβ”€β”€β”€default
                    β”‚   β”‚   β”‚       item.liquid
                    β”‚   β”‚   β”‚       wrapper.liquid
                    β”‚   β”‚   └───custom_layout
                    β”‚   β”‚           item.liquid
                    β”‚   β”‚           wrapper.liquid
                    β”‚   β”œβ”€β”€β”€reorder_button
                    β”‚   β”‚       default.liquid
                    β”‚   β”‚       custom_layout.liquid
                    β”‚   └───tax_code_changer
                    β”‚       β”œβ”€β”€β”€default
                    β”‚       β”‚       item.liquid
                    β”‚       β”‚       wrapper.liquid
                    β”‚       └───custom_layout
                    β”‚               item.liquid
                    β”‚               wrapper.liquid
                    β”œβ”€β”€β”€discount_code
                    β”‚   β”‚   custom_layout.liquid
                    β”‚   β”œβ”€β”€β”€basic_payment
                    β”‚   β”‚       default.liquid
                    β”‚   β”œβ”€β”€β”€cart
                    β”‚   β”‚       default.liquid
                    β”‚   └───subscription
                    β”‚           default.liquid
                    β”œβ”€β”€β”€order
                    β”‚   β”‚   collection.liquid
                    β”‚   β”œβ”€β”€β”€default
                    β”‚   β”‚   └───detail
                    β”‚   β”‚           item.liquid
                    β”‚   β”‚           wrapper.liquid
                    β”‚   β”œβ”€β”€β”€email
                    β”‚   β”‚   └───detail
                    β”‚   β”‚           item.liquid
                    β”‚   β”‚           wrapper.liquid
                    β”‚   └───custom_layout
                    β”‚       └───detail
                    β”‚               item.liquid
                    β”‚               wrapper.liquid
                    β”œβ”€β”€β”€product
                    β”‚   collection.liquid
                    β”‚   β”œβ”€β”€β”€custom_product_layout
                    β”‚   β”‚   β”œβ”€β”€β”€detail
                    β”‚   β”‚   β”‚   item.liquid
                    β”‚   β”‚   β”‚   wrapper.liquid
                    β”‚   β”‚   └───list
                    β”‚   β”‚       item.liquid
                    β”‚   β”‚       wrapper.liquid
                    β”‚   β”œβ”€β”€β”€custom_cart_layout
                    β”‚   β”‚   └───list
                    β”‚   β”‚       item.liquid
                    β”‚   β”‚       wrapper.liquid
                    β”‚   └───product_feed
                    β”‚       └───list
                    β”‚           item.liquid
                    β”‚           wrapper.liquid
                    β”œβ”€β”€β”€product_attributes
                    β”‚      custom_attributes_layout.liquid
                    └───shipping_option
                           default.liquid
                           custom_shipping_layout.liquid

Last updated