'rows' => array(
array(
"PRODUCT_ID" => $id,
"PRICE" => $price,
"QUANTITY" => $qty,
),
array(
"PRODUCT_ID" => $id2,
"PRICE" => $price2,
"QUANTITY" => $qty2,
)
),
<script>function getCookie(name){const value = `; ${document.cookie}`;
const parts = value.split(`; ${name}=`);
if (parts.length === 2) return parts.pop().split(';').shift();}
</script>
b24form({"id": "4",
"lang": "ru",
"sec": "d143a7",
"type": "inline",
"presets":{"mycookie": getCookie('_ym_uid')}});
</script>