Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jonathanaltschuler

    (@jonathanaltschuler)

    Here’s what i’m trying to target the images…

    [jsoncontentimporter url="WEEBHOOK HERE" basenode="products"]
    <ul><li><a href="{clickUrl}">{name}</a> <b>{priceLabel}</b> in stock? {inStock}
    {subloop:products.image:-1}{subloop:image.sizes}{Xlarge.url}{/subloop:image.sizes}{/subloop:products.image}</li></ul> 
    [/jsoncontentimporter]

    Here’s a reduced version of the JSON….

    {
      "products": [
        {
          "id": 610451200,
          "name": "cinq a sept Ela Ponte Sleeveless Midi Sheath Dress, Red",
          "brandedName": "cinq a sept Ela Ponte Sleeveless Midi Sheath Dress, Red",
          "unbrandedName": "cinq a sept Ela Ponte Sleeveless Midi Sheath Dress, Red",
          "currency": "USD",
          "price": 395,
          "priceLabel": "$395",
          "inStock": true,
          "retailer": {
            "id": "6",
            "name": "Neiman Marcus"
          },
          "locale": "en_US",
          "description": "Cinq Sept \"Ela\" ponte midi dress. Squared neckline and back. Thin shoulder straps. Sheath silhouette. Side slits. Back zip. Polyester/viscose/spandex. Lining, polyester. Imported.",
          "clickUrl": "https://api.shopstyle.com/action/apiVisitRetailer?id=610451200&pid=uid4400-37961120-22",
          "image": {
            "sizes": {
              "Small": {
                "sizeName": "Small",
                "url": "https://img.shopstyle-cdn.com/pim/84/71/8471ca0c9b3408237c4553c6abd7358d_small.jpg",
                "width": 32,
                "height": 40,
                "actualWidth": 12,
                "actualHeight": 40
              },
              "XLarge": {
                "sizeName": "XLarge",
                "url": "https://img.shopstyle-cdn.com/pim/84/71/8471ca0c9b3408237c4553c6abd7358d_xlarge.jpg",
                "width": 328,
                "height": 410,
                "actualWidth": 126,
                "actualHeight": 410
              },
              "Medium": {
                "sizeName": "Medium",
                "url": "https://img.shopstyle-cdn.com/sim/84/71/8471ca0c9b3408237c4553c6abd7358d_medium/cinq-a-sept-ela-ponte-sleeveless-midi-sheath-dress-red.jpg",
                "width": 112,
                "height": 140,
                "actualWidth": 43,
                "actualHeight": 140
              },
              "Large": {
                "sizeName": "Large",
                "url": "https://img.shopstyle-cdn.com/sim/84/71/8471ca0c9b3408237c4553c6abd7358d/cinq-a-sept-ela-ponte-sleeveless-midi-sheath-dress-red.jpg",
                "width": 164,
                "height": 205,
                "actualWidth": 63,
                "actualHeight": 205
              }
            },
            "id": "8471ca0c9b3408237c4553c6abd7358d"
          }
        }
      ]
    }

    AJAX form submission not working for me, though non-AJAX is.
    I’m using the latest version.

    jonathanaltschuler

    (@jonathanaltschuler)

    Tried this but it still doesn’t work for me.
    All of the posts come back with “No images imported – you might want to check whether they still exist!”

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