Как добавить блок тарифа PL310 в аккордеон TX16N в Tilda
Lemon meringue 1
€6
Baked meringue with lemon ice cream and lemon curd sauce
Apple tart 1
€10
Baked apple tart with vanilla ice cream
Mini chocolate truffles 1
€8
With a liquid caramel centre
Cherry ice cream 1
€8
Vanilla ice cream with meringue and a warm cherry sauce
Frozen berries 1
€10
Mixed berries with yoghurt sorbet
Apple ice cream 1
€8
Vanilla ice cream with apples and caramel sauce
Lemon meringue 2
€6
Baked meringue with lemon ice cream and lemon curd sauce
Apple tart 2
€10
Baked apple tart with vanilla ice cream
Mini chocolate truffles 2
€8
With a liquid caramel centre
Cherry ice cream 2
€8
Vanilla ice cream with meringue and a warm cherry sauce
Frozen berries 2
€10
Mixed berries with yoghurt sorbet
Apple ice cream 2
€8
Vanilla ice cream with apples and caramel sauce
Lemon meringue 3
€6
Baked meringue with lemon ice cream and lemon curd sauce
Apple tart 3
€10
Baked apple tart with vanilla ice cream
Mini chocolate truffles 3
€8
With a liquid caramel centre
Cherry ice cream 3
€8
Vanilla ice cream with meringue and a warm cherry sauce
Frozen berries 3
€10
Mixed berries with yoghurt sorbet
Apple ice cream 3
€8
Vanilla ice cream with apples and caramel sauce

Как добавить блок тарифа PL310 в аккордеон TX16N в Tilda

1
Создали TX16N на 3 вкладки 12 колонок
2
Создали 3 блока PL310N 6+6 колонок
3
Добавили а страницу блок Т123
Вставили в него код
В коде прописали ID TX16N
#rec260001007
И ID нужных блоков PL310
0:"#rec260001087",
1:"#rec260002114",
2:"#rec260002393"
Mo-ti Level Up
Видео инструкции по добавлению кода и работе с Zero Block.
Формируем прайс в блоке TX16N на базе блока PL310.
Перемещаем во все или в конкретную вкладку.
Длительность видео: 16 минут
Фрагмент видео
Библиотека для примера

<style>
.t812__col {
    padding: 0 20px;
    margin: 0;
    box-sizing: border-box;
}    
</style>
<script>
$( document ).ready(function() {
let tx16n = $('#rec260001007');
let arrPl310 = { // Номер вкладки = вставленный в неё блок
    0:"#rec260001087",
    1:"#rec260002114", 
    2:"#rec260002393"
};
$.each(arrPl310, function( key, value ) {
    let currentElem = tx16n.find('.t585__text:eq('+Number(key)+')');
    if(currentElem.length) {
        currentElem.html($(value));
    };     
});
});
</script>
Made on
Tilda