{nabu_assign var=info_section section=empty_categories}
{nabu_raw_assign}
    table_metadata: [
        toolbar: [
            groups: [
                1: [
                    buttons: [
                        add: [
                            type: "default"
                            icon: "fa fa-plus"
                            apply: "all"
                        ]
                        edit: [
                            type: "default"
                            icon: "fa fa-pencil"
                            apply: "single"
                        ]
                    ]
                ]
                2: [
                    buttons: [
                        delete: [
                            type: "danger"
                            icon: "fa fa-trash"
                            apply: "multiple"
                        ]
                    ]
                ]
            ]
        ]
        fields: [
            id: [
                title: "ID"
                order: "alpha"
                align: "right"
                id: true
            ]
            sku: [
                title: "SKU"
                order: "alpha"
            ]
            name: [
                title: "Nombre"
                order: "number"
            ]
            slug: [
                title: "Slug"
                order: "alpha"
            ]
            price_amount: [
                title: "Precio"
                order: "number"
                align: "right"
            ]
            tax_percentage: [
                title: "% IVA"
                order: "number"
                align: "right"
            ]
        ]
        translations: [
            search_button: "{nabu_static key=btn_search}"
            columns_button: "{nabu_static key=btn_columns}"
            show_all_columns: "{nabu_static key=sel_show_all}"
            hide_all_columns: "{nabu_static key=sel_hide_all}"
            empty_message: "{"\""|str_replace:"\\\"":$info_section.translation.content}"
            translation_not_available: "{nabu_static key=lbl_translation_not_available}"
        ]
    ]
{/nabu_raw_assign}
{nabu_assign var=ajax_editor cta=ajax_product}
{assign var=ajax_editor value="{$ajax_editor.translation.final_url|sprintf:$edit_commerce.id:'%s'}"}
{include file="content/parts/table-splitted-panels.tpl" id=products_list editor=$ajax_editor editor_mode=ajax
         data=$edit_commerce.products metadata=$table_metadata languages=$edit_commerce.languages}

Add visibility for Commerce Products
Add visibility for Commerce Products
