Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter huytuduy

    (@huytuduy)

    @3sonsdevelopment thank you for supporting, this depend on WordPress, not Woocommerce

    Thread Starter huytuduy

    (@huytuduy)

    many users use our service to copy product from Shopee marketplace to Woocommerce. Almost of them don’t want and don’t know code
    I don’t think this is problem with security because Woo download image, set name image and then put it to media folder. this folder doesn’t have execute permission

    Thread Starter huytuduy

    (@huytuduy)

    And this is body of POST request

    {
      "name": "name product",
      "description": "desc...",
      "short_description": "",
      "sku": "2588791101",
      "regular_price": "84150",
      "categories": [
        {
          "id": 142
        }
      ],
      "images": [
        {
          "src": "https://cf.shopee.vn/file/65a139fb403a1dc656959c0bdb605122"
        },
        {
          "src": "https://cf.shopee.vn/file/e726522fd23cf95694c0ef3421d7141a"
        }
      ],
      "type": "variable",
      "tier_variations": [
        {
          "name": "kích c?",
          "options": [
            "S (35-55kg)",
            "M (56-65kg)"
          ],
          "properties": null,
          "summed_stocks": null,
          "type": 0
        }
      ],
      "models": [
        {
          "price_before_discount": 0,
          "name": "M (56-65kg)",
          "price": 84150,
          "stock": 0,
          "extinfo": {
            "tier_index": [
              1
            ]
          },
          "input_price": 0,
          "itemid": 2588791101,
          "modelid": "M (56-65kg)",
          "id": "M (56-65kg)",
          "sku": "2588791101-2"
        },
        {
          "price_before_discount": 0,
          "name": "S (35-55kg)",
          "price": 84150,
          "stock": 0,
          "extinfo": {
            "tier_index": [
              0
            ]
          },
          "input_price": 0,
          "itemid": 2588791101,
          "modelid": "S (35-55kg)",
          "id": "S (35-55kg)",
          "sku": "2588791101-1"
        }
      ],
      "weight": "0",
      "dimension": {
        "width": "0",
        "height": "0",
        "length": "0"
      },
      "attributes": [
        {
          "id": 10,
          "name": "kích c?",
          "position": "0",
          "visible": true,
          "variation": true,
          "options": [
            "M (56-65kg)",
            "S (35-55kg)"
          ]
        }
      ]
    }
    Thread Starter huytuduy

    (@huytuduy)

    This is error
    Invalid image: Sorry, you are not allowed to upload this file type.

Viewing 4 replies - 1 through 4 (of 4 total)