X
X
xenonhammer2020-01-17 13:44:16
PHP
xenonhammer, 2020-01-17 13:44:16

How not to get confused in opencart 3 filling in table data?

There is a supplier that gives goods by api in this form:

[
  {
    "data": [
      {
        "sku": "00008",
        "name": "Тетрадь Зелёная обложка 12 л. Архбум, офсет, клетка с полями",
        "category_list": [
          26165,
          26203
        ],
        "manufacturer": "Россия",
        "vendor_code": "A302",
        "barcode": "4607106500012",
        "brand": "АРХБУМ",
        "description": "Школьная тетрадь с классической зеленой обложкой формата А5.",
        "description_ext": "Школьная тетрадь с классической зеленой обложкой формата А5.",
        "weight": "1.2",
        "volume": "0.2",
        "characteristic_list": [
          "Классическая зеленая обложка.",
          "Внутренний блок - офсет 60 г/м2, клетка с полями.",
          "12 листов.",
          "Скрепление - скрепка."
        ],
        "facet_list": [
          {
            "name": "Линовка",
            "value": "клетка"
          }
        ],
        "photo_list": [
          "https://api._.ru/goods/100008/4e85b6fcd780c_x.jpg",
          "https://api._.ru/goods/100008/4e85b6fcd780c_x.jpg"
        ],
        "package_list": [
          {
            "type": "min_opt",
            "value": 420
          }
        ],
        "price_list": [
          {
            "type": "contract",
            "value": "3.05"
          }
        ],
        "stock_list": [
          {
            "type": "idp",
            "value": "12586"
          }
        ],
        "attribute_list": [
          {
            "type": "novelty",
            "value": true
          }
        ],
        "sale_date": "2017.06.28 00:00:00"
      }
    ],
    "meta": {
      "pagination": {
        "previous": "https://api._.ru/v1/category/index.php?pagination_page=1&api_key=33799217a53e5c36b072dc758c363a46&response_format=xml",
        "next": "https://api._.ru/v1/category/index.php?pagination_page=3&api_key=789789&response_format=xml"
      }
    }
  }
]

When I opened the Opencart3 Table List, I realized that without a bottle I wouldn’t figure out what to import where using this very api. The structure seems to be very confusing.
Advise, just started programming in php.
Should I change cms to something simpler? Or maybe I despair early, what do you think?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question