Target ATC Script

  1. Go to product page.

  2. Click F12 to open DevTools.

  3. Select the Console tab at the top.

  4. Copy and paste the code bellow.

const SKU = window.location.href.split("A-")[1].split("#")[0]
const quantity = 1;
fetch("https://carts.target.com/web_checkouts/v1/cart_items?field_groups=CART%2CCART_ITEMS%2CSUMMARY&key=9f36aeafbe60771e321a7cc95a78140772ab3e96", {
    "headers": {
        "x-application-name": "tempo",
        "accept": "application/json",
        "accept-language": "en-GB,en;q=0.9",
        "content-type": "application/json",
        "sec-ch-ua-mobile": "?0",
        "sec-fetch-dest": "empty",
        "sec-fetch-mode": "cors",
        "sec-fetch-site": "same-site",
    },
    "referrer": "https: //www.target.com/tempo",
    "body": "{\"cart_item\":{\"item_channel_id\":\"10\",\"tcin\":\""+ SKU +"\",\"quantity\":"+ quantity +"},\"cart_type\":\"REGULAR\",\"channel_id\":\"10\",\"shopping_context\":\"DIGITAL\"}",
    "method": "POST",
    "mode": "cors",
    "credentials": "include"
})
window.open("https://www.target.com/cart")

5. Hit enter.

Last updated