B&C Update (6) = OLD

$SYS.GET

ANSWER

%kombuchaJson

%counter=0

$.values %kombuchaJson each(%item)

%item=null

$.values %kombuchaJson each(%item)

%item_answer=null

%item_answer= {
"text": "<b></b>",
"photo": "https://pipe.bot/img/d/m/56/12a53e.jpeg",
"description": "<font color=#323232>Назад ↩️</font><font color=\"#777777\"><br><br><font color=\"#323232\">Повернутись на крок назад ↩️</font>",
"reply_payload": {
"price": "back"
}
}

$ %kombucha1 add(%item_answer)

%item_category=null

%counter=0

$.values %kombuchaJson each(%item)

%item=null

$.values %kombuchaJson each(%item)

%item_answer=null

%kombuchaJson=null

%item_answer= {
"text": "<b></b>",
"photo": "https://pipe.bot/img/d/m/56/12a53e.jpeg",
"description": "<font color=#323232>Назад ↩️</font><font color=\"#777777\"><br><br><font color=\"#323232\">Повернутись на крок назад ↩️</font>",
"reply_payload": {
"price": "back"
}
}

$ %kombucha2 add(%item_answer)

%item_answer=null

?globalCounter=8

%globalCounter=0 #

%item=null

%item_image=null

%item_price=null

%item_description=null

%item_name=null

%counter=0

%amountObjects=null

calc %globalCounter=%globalCounter+1

%item_image=$[4] %item

?item_category=Комбуча 330 SPRAGA (скло)

calc %counter=%counter+1

%item_answer={
"text":"<b>%item_name</b>",
"photo":"%item_image",
"description":"<font color=#323232>%item_description</font><font color=\"#777777\"><br><br><font color=\"#009900\">₴ %item_price</font>",
"reply_payload":{
"price":%item_price,
"name":"%item_name"
}
}

?counter=9

?amountObjects=9

%item_answer={
"text":"<b>%item_name</b>",
"photo":"%item_image",
"description":"<font color=#323232>%item_description</font><font color=\"#777777\"><br><br><font color=\"#009900\">₴ %item_price</font>",
"reply_payload":{
"price":%item_price,
"name":"%item_name"
}
}

$ %kombucha2 add(%item_answer)

$ %kombucha2 add(%item_answer)

%item_answer= {
"text": "<b></b>",
"photo": "https://pipe.bot/img/d/m/56/12a53e.jpeg",
"description": "<font color=#323232>Назад ↩️</font><font color=\"#777777\"><br><br><font color=\"#323232\">Повернутись на крок назад ↩️</font>",
"reply_payload": {
"price": "back"
}
}

calc %counter=%counter+1

%globalCounter=10

%item_answer=null

%item_answer= {
"text": "<b></b>",
"photo": "https://pipe.bot/img/d/m/a5/94864b.png",
"description": "<font color=#323232>Більше ➡️</font><font color=\"#777777\"><br><br><font color=\"#323232\">Перейти на наступну сторінку ➡️</font>",
"reply_payload": {
"price": "forward"
}
}

$ %kombucha2 add(%item_answer)

$ %kombucha2 add(%item_answer)

%item_answer=null

%item_answer={
"text":"<b>%item_name</b>",
"photo":"%item_image",
"description":"<font color=#323232>%item_description</font><font color=\"#777777\"><br><br><font color=\"#009900\">₴ %item_price</font>",
"reply_payload":{
"price":%item_price,
"name":"%item_name"
}
}

$ %kombucha2 add(%item_answer)

calc %counter=%counter+1

%counter=0

%item_answer= {
"text": "<b></b>",
"photo": "https://pipe.bot/img/d/m/56/12a53e.jpeg",
"description": "<font color=#323232>Назад ↩️</font><font color=\"#777777\"><br><br><font color=\"#323232\">Повернутись на крок назад ↩️</font>",
"reply_payload": {
"price": "back"
}
}

%item_price=$[3] %item

%item_name=$[1] %item

%item_description=$[2] %item

%item_category=$[0] %item

?item_category=Комбуча 330 SPRAGA (скло)

%item_category=$[0] %item

?item_category=Комбуча 330 SPRAGA (скло)

calc %amountObjects=%amountObjects+1

%kombucha2=[]

%globalCounter=0

%amountObjects=0

%item_answer=null

?globalCounter=8

%globalCounter=0 #

%item=null

%item_image=null

%item_price=null

%item_description=null

%item_name=null

%counter=0

%amountObjects=null

calc %globalCounter=%globalCounter+1

%item_image=$[4] %item

?item_category=Комбуча 330 SPRAGA (банка)

calc %counter=%counter+1

%item_answer={
"text":"<b>%item_name</b>",
"photo":"%item_image",
"description":"<font color=#323232>%item_description</font><font color=\"#777777\"><br><br><font color=\"#009900\">₴ %item_price</font>",
"reply_payload":{
"price":%item_price,
"name":"%item_name"
}
}

?counter=9

?amountObjects=9

%item_answer={
"text":"<b>%item_name</b>",
"photo":"%item_image",
"description":"<font color=#323232>%item_description</font><font color=\"#777777\"><br><br><font color=\"#009900\">₴ %item_price</font>",
"reply_payload":{
"price":%item_price,
"name":"%item_name"
}
}

$ %kombucha1 add(%item_answer)

$ %kombucha1 add(%item_answer)

%item_answer= {
"text": "<b></b>",
"photo": "https://pipe.bot/img/d/m/56/12a53e.jpeg",
"description": "<font color=#323232>Назад ↩️</font><font color=\"#777777\"><br><br><font color=\"#323232\">Повернутись на крок назад ↩️</font>",
"reply_payload": {
"price": "back"
}
}

calc %counter=%counter+1

%globalCounter=10

%item_answer=null

%item_answer= {
"text": "<b></b>",
"photo": "https://pipe.bot/img/d/m/a5/94864b.png",
"description": "<font color=#323232>Більше ➡️</font><font color=\"#777777\"><br><br><font color=\"#323232\">Перейти на наступну сторінку ➡️</font>",
"reply_payload": {
"price": "forward"
}
}

$ %kombucha1 add(%item_answer)

$ %kombucha1 add(%item_answer)

%item_answer=null

%item_answer={
"text":"<b>%item_name</b>",
"photo":"%item_image",
"description":"<font color=#323232>%item_description</font><font color=\"#777777\"><br><br><font color=\"#009900\">₴ %item_price</font>",
"reply_payload":{
"price":%item_price,
"name":"%item_name"
}
}

$ %kombucha1 add(%item_answer)

calc %counter=%counter+1

%counter=0

%item_answer= {
"text": "<b></b>",
"photo": "https://pipe.bot/img/d/m/56/12a53e.jpeg",
"description": "<font color=#323232>Назад ↩️</font><font color=\"#777777\"><br><br><font color=\"#323232\">Повернутись на крок назад ↩️</font>",
"reply_payload": {
"price": "back"
}
}

%item_price=$[3] %item

%item_name=$[1] %item

%item_description=$[2] %item

%item_category=$[0] %item

?item_category=Комбуча 330 SPRAGA (банка)

%item_category=$[0] %item

?item_category=Комбуча 330 SPRAGA (банка)

calc %amountObjects=%amountObjects+1

%kombucha1=[]

%globalCounter=0

%amountObjects=0

%item_category=null

$SYS.GET

ANSWER

%counter=0

$.values %cakesJson each(%item)

%item=null

$.values %cakesJson each(%item)

%item_answer=null

%item_answer= {
"text": "<b></b>",
"photo": "https://pipe.bot/img/d/m/56/12a53e.jpeg",
"description": "<font color=#323232>Назад ↩️</font><font color=\"#777777\"><br><br><font color=\"#323232\">Повернутись на крок назад ↩️</font>",
"reply_payload": {
"price": "back"
}
}

$ %cakes1 add(%item_answer)

%item_category=null

%counter=0

$.values %cakesJson each(%item)

%item=null

$.values %cakesJson each(%item)

%item_answer=null

%cakesJson=null

%item_answer= {
"text": "<b></b>",
"photo": "https://pipe.bot/img/d/m/56/12a53e.jpeg",
"description": "<font color=#323232>Назад ↩️</font><font color=\"#777777\"><br><br><font color=\"#323232\">Повернутись на крок назад ↩️</font>",
"reply_payload": {
"price": "back"
}
}

$ %cakes2 add(%item_answer)

%item_category=null

%item_answer=null

?globalCounter=8

%globalCounter=0 #

%item=null

%item_image=null

%item_price=null

%item_description=null

%item_name=null

%counter=0

%amountObjects=null

calc %globalCounter=%globalCounter+1

%item_image=$[4] %item

?item_category=МАКАРОНС МІКС

calc %counter=%counter+1

%item_answer={
"text":"<b>%item_name</b>",
"photo":"%item_image",
"description":"<font color=#323232>%item_description</font><font color=\"#777777\"><br><br><font color=\"#009900\">₴ %item_price</font>",
"reply_payload":{
"price":%item_price,
"name":"%item_name"
}
}

?counter=9

?amountObjects=9

%item_answer={
"text":"<b>%item_name</b>",
"photo":"%item_image",
"description":"<font color=#323232>%item_description</font><font color=\"#777777\"><br><br><font color=\"#009900\">₴ %item_price</font>",
"reply_payload":{
"price":%item_price,
"name":"%item_name"
}
}

$ %cakes2 add(%item_answer)

$ %cakes2 add(%item_answer)

%item_answer= {
"text": "<b></b>",
"photo": "https://pipe.bot/img/d/m/56/12a53e.jpeg",
"description": "<font color=#323232>Назад ↩️</font><font color=\"#777777\"><br><br><font color=\"#323232\">Повернутись на крок назад ↩️</font>",
"reply_payload": {
"price": "back"
}
}

calc %counter=%counter+1

%globalCounter=10

%item_answer=null

%item_answer= {
"text": "<b></b>",
"photo": "https://pipe.bot/img/d/m/a5/94864b.png",
"description": "<font color=#323232>Більше ➡️</font><font color=\"#777777\"><br><br><font color=\"#323232\">Перейти на наступну сторінку ➡️</font>",
"reply_payload": {
"price": "forward"
}
}

$ %cakes2 add(%item_answer)

$ %cakes2 add(%item_answer)

%item_answer=null

%item_answer={
"text":"<b>%item_name</b>",
"photo":"%item_image",
"description":"<font color=#323232>%item_description</font><font color=\"#777777\"><br><br><font color=\"#009900\">₴ %item_price</font>",
"reply_payload":{
"price":%item_price,
"name":"%item_name"
}
}

$ %cakes2 add(%item_answer)

calc %counter=%counter+1

%counter=0

%item_answer= {
"text": "<b></b>",
"photo": "https://pipe.bot/img/d/m/56/12a53e.jpeg",
"description": "<font color=#323232>Назад ↩️</font><font color=\"#777777\"><br><br><font color=\"#323232\">Повернутись на крок назад ↩️</font>",
"reply_payload": {
"price": "back"
}
}

%item_price=$[3] %item

%item_name=$[1] %item

%item_description=$[2] %item

%item_category=$[0] %item

?item_category=МАКАРОНС МІКС

%item_category=$[0] %item

?item_category=МАКАРОНС МІКС

calc %amountObjects=%amountObjects+1

%cakes2=[]

%globalCounter=0

%amountObjects=0

%item_answer=null

?globalCounter=8

%globalCounter=0 #

%item=null

%item_image=null

%item_price=null

%item_description=null

%item_name=null

%counter=0

%amountObjects=null

calc %globalCounter=%globalCounter+1

%item_image=$[4] %item

?item_category=Ай да Бейкер

calc %counter=%counter+1

%item_answer={
"text":"<b>%item_name</b>",
"photo":"%item_image",
"description":"<font color=#323232>%item_description</font><font color=\"#777777\"><br><br><font color=\"#009900\">₴ %item_price</font>",
"reply_payload":{
"price":%item_price,
"name":"%item_name"
}
}

?counter=9

?amountObjects=9

%item_answer={
"text":"<b>%item_name</b>",
"photo":"%item_image",
"description":"<font color=#323232>%item_description</font><font color=\"#777777\"><br><br><font color=\"#009900\">₴ %item_price</font>",
"reply_payload":{
"price":%item_price,
"name":"%item_name"
}
}

$ %cakes1 add(%item_answer)

$ %cakes1 add(%item_answer)

%item_answer= {
"text": "<b></b>",
"photo": "https://pipe.bot/img/d/m/56/12a53e.jpeg",
"description": "<font color=#323232>Назад ↩️</font><font color=\"#777777\"><br><br><font color=\"#323232\">Повернутись на крок назад ↩️</font>",
"reply_payload": {
"price": "back"
}
}

calc %counter=%counter+1

%globalCounter=10

%item_answer=null

%item_answer= {
"text": "<b></b>",
"photo": "https://pipe.bot/img/d/m/a5/94864b.png",
"description": "<font color=#323232>Більше ➡️</font><font color=\"#777777\"><br><br><font color=\"#323232\">Перейти на наступну сторінку ➡️</font>",
"reply_payload": {
"price": "forward"
}
}

$ %cakes1 add(%item_answer)

$ %cakes1 add(%item_answer)

%item_answer=null

%item_answer={
"text":"<b>%item_name</b>",
"photo":"%item_image",
"description":"<font color=#323232>%item_description</font><font color=\"#777777\"><br><br><font color=\"#009900\">₴ %item_price</font>",
"reply_payload":{
"price":%item_price,
"name":"%item_name"
}
}

$ %cakes1 add(%item_answer)

calc %counter=%counter+1

%counter=0

%item_answer= {
"text": "<b></b>",
"photo": "https://pipe.bot/img/d/m/56/12a53e.jpeg",
"description": "<font color=#323232>Назад ↩️</font><font color=\"#777777\"><br><br><font color=\"#323232\">Повернутись на крок назад ↩️</font>",
"reply_payload": {
"price": "back"
}
}

%item_price=$[3] %item

%item_name=$[1] %item

%item_description=$[2] %item

%item_category=$[0] %item

?item_category=Ай да Бейкер

%item_category=$[0] %item

?item_category=Ай да Бейкер

calc %amountObjects=%amountObjects+1

%cakes1=[]

%globalCounter=0

%amountObjects=0

%cakesJson

$ %cakes2 add(%item_answer)

$ %kombucha2 add(%item_answer)

$ %kombucha1 add(%item_answer)

$ %cakes1 add(%item_answer)