Skip to content

Instantly share code, notes, and snippets.

@8ui
Created December 11, 2021 14:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 8ui/a41de945786d917a692bd2c786b9aaee to your computer and use it in GitHub Desktop.
Save 8ui/a41de945786d917a692bd2c786b9aaee to your computer and use it in GitHub Desktop.
Описание параметров
// Domains
{
"domains": {
"external": "https://google.com",
"internal": "google",
"domain": "mycloudshop.ru"
}
}
// Products
{
"products": {
"types": ["set"],
"zero_stocks": "1",
"stocks_by_store": false,
"price": "basic"
},
"categories": [{
"name": "Новая категория",
"favorite": true,
"description": ""
}]
}
// Orders
{
"orders": {
"store": "55a66d983e4edc914a984de7",
"order_min_sum": 0,
"comment": "Заказ с сайта %Domain% на сумму: %Summ%. Оплата через %PaymentType%. Доставка: %DeliveryType% из \n%StoreName% / %DeliveryAddress%. Комментарий: %Comment%"
}
}
// Info
{
"info": {
"phone": "",
"email": "",
"socialNetworks": {
"instagram": "",
"youtube": "",
"facebook": "",
"vk": "",
"odnoklassniki": ""
}
}
}
// Analytics
{
"analytics": {
"counters": {
"ya_metrika": "",
"google_analytics": "",
"ya_webmaster": "",
"google_search_console": "",
"top_mail_ru": ""
},
"px": {
"vk": "",
"facebook": "",
"top_mail_ru": ""
},
"schema": false,
"meta": []
}
}
// Payments
{
"payments": {
"pod": {
"name": "Оплата при получении",
"active": false,
"description": ""
},
"cloudPayments": {
"name": "Cloud Payments",
"active": false,
"description": "",
"public_id": "",
"api_password": ""
}
}
}
// Delivery
{
"delivery": {
"pickup": {
"name": "Самовывоз",
"active": true,
"description": "",
"stores": [{
"_id": "55a66d983e4edc914a984de7",
"name": "Store name",
"address": "",
"work_time": ""
}]
},
"courier": {
"name": "Доставка курьером",
"active": false,
"description": ""
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment