{"id":163,"date":"2022-03-12T18:14:37","date_gmt":"2022-03-12T12:44:37","guid":{"rendered":"https:\/\/super-ali.com\/blog\/?p=163"},"modified":"2022-03-12T18:41:35","modified_gmt":"2022-03-12T13:11:35","slug":"hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon","status":"publish","type":"post","link":"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/","title":{"rendered":"[Hack] Build Shopify cart link with automatic discount coupon"},"content":{"rendered":"\n<p>Becki shared the hack to build a link that takes customers directly to a filled cart, and even automatically apply a discount code.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-twitter wp-block-embed-twitter\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\"><p lang=\"en\" dir=\"ltr\">Cool little Shopify hack I found&#8230;<br><br>You can build a link that takes customers directly to a filled cart, and even automatically apply a discount code.<br><br>Here&#39;s how \ud83d\udc47<\/p>&mdash; Becki (@beckiecomm) <a href=\"https:\/\/twitter.com\/beckiecomm\/status\/1502243746506752000?ref_src=twsrc%5Etfw\">March 11, 2022<\/a><\/blockquote><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>\n<\/div><\/figure>\n\n\n\n<h2>Build a link: <\/h2>\n\n\n\n<p>https:\/\/yourstore . com\/cart\/{variant_id}:{quantity} <\/p>\n\n\n\n<p>Add the variant ID + quantity, then remove the curly brackets. <\/p>\n\n\n\n<p>So your link should look like: <\/p>\n\n\n\n<p>https:\/\/yourstore . com\/cart\/61546758362}:1<\/p>\n\n\n\n<h2>Here&#8217;s how you find your Variant ID: <\/h2>\n\n\n\n<ol><li>Navigate to your product page.<\/li><li>Add &#8216;.xml&#8217; to the end of the URL.<\/li><li>Find the section that says &lt;variant&gt; &lt;id type=&#8221;integer&#8221;&gt;42130968150234&lt;\/id&gt;<\/li><li>That long no. is your Variant ID!<\/li><\/ol>\n\n\n\n<h2>Want to auto-add a discount?<\/h2>\n\n\n\n<p>Just append ?discount={discountcode} to the end of your URL. <\/p>\n\n\n\n<p>(Don&#8217;t forget to remove the curly brackets!) <\/p>\n\n\n\n<p>So your final URL would be something like: https:\/\/yourstore . com\/cart\/61546758362}:1?discount=TIKTOK10 <\/p>\n\n\n\n<p>If you found this hack useful, make sure to thank <a href=\"https:\/\/twitter.com\/beckiecomm\" target=\"_blank\" rel=\"noreferrer noopener\">Becki<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Becki shared the hack to build a link that takes customers directly to a filled cart, and even automatically apply a discount code. Build a link: https:\/\/yourstore . com\/cart\/{variant_id}:{quantity} Add the variant ID + quantity, then remove the curly brackets. So your link should look like: https:\/\/yourstore . com\/cart\/61546758362}:1 Here&#8217;s how you find your Variant&hellip; <a class=\"more-link\" href=\"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/\">Continue reading <span class=\"screen-reader-text\">[Hack] Build Shopify cart link with automatic discount coupon<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Hack] Build Shopify cart link with automatic discount coupon - Super-Ali Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Hack] Build Shopify cart link with automatic discount coupon - Super-Ali Blog\" \/>\n<meta property=\"og:description\" content=\"Becki shared the hack to build a link that takes customers directly to a filled cart, and even automatically apply a discount code. Build a link: https:\/\/yourstore . com\/cart\/{variant_id}:{quantity} Add the variant ID + quantity, then remove the curly brackets. So your link should look like: https:\/\/yourstore . com\/cart\/61546758362}:1 Here&#8217;s how you find your Variant&hellip; Continue reading [Hack] Build Shopify cart link with automatic discount coupon\" \/>\n<meta property=\"og:url\" content=\"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/\" \/>\n<meta property=\"og:site_name\" content=\"Super-Ali Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/superalicom\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-12T12:44:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-12T13:11:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/super-ali.com\/blog\/wp-content\/uploads\/2022\/03\/Tweet-by-Becki.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1640\" \/>\n\t<meta property=\"og:image:height\" content=\"902\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Honey\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@superalicom\" \/>\n<meta name=\"twitter:site\" content=\"@superalicom\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Honey\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/\"},\"author\":{\"name\":\"Honey\",\"@id\":\"https:\/\/super-ali.com\/blog\/#\/schema\/person\/702e9cc913f71eafa71986a1524bec69\"},\"headline\":\"[Hack] Build Shopify cart link with automatic discount coupon\",\"datePublished\":\"2022-03-12T12:44:37+00:00\",\"dateModified\":\"2022-03-12T13:11:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/\"},\"wordCount\":158,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/super-ali.com\/blog\/#organization\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/\",\"url\":\"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/\",\"name\":\"[Hack] Build Shopify cart link with automatic discount coupon - Super-Ali Blog\",\"isPartOf\":{\"@id\":\"https:\/\/super-ali.com\/blog\/#website\"},\"datePublished\":\"2022-03-12T12:44:37+00:00\",\"dateModified\":\"2022-03-12T13:11:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/super-ali.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Hack] Build Shopify cart link with automatic discount coupon\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/super-ali.com\/blog\/#website\",\"url\":\"https:\/\/super-ali.com\/blog\/\",\"name\":\"Super-Ali Blog\",\"description\":\"Find trending products before spy tools\",\"publisher\":{\"@id\":\"https:\/\/super-ali.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/super-ali.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/super-ali.com\/blog\/#organization\",\"name\":\"Super-Ali\",\"url\":\"https:\/\/super-ali.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/super-ali.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/super-ali.com\/blog\/wp-content\/uploads\/2021\/07\/Super-Ali-Logo-A.jpg\",\"contentUrl\":\"http:\/\/super-ali.com\/blog\/wp-content\/uploads\/2021\/07\/Super-Ali-Logo-A.jpg\",\"width\":2000,\"height\":2000,\"caption\":\"Super-Ali\"},\"image\":{\"@id\":\"https:\/\/super-ali.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/superalicom\/\",\"https:\/\/twitter.com\/superalicom\",\"https:\/\/www.instagram.com\/superaliofficial\",\"https:\/\/www.youtube.com\/channel\/UCqeqAScuYO5MmU0t2wsZUHg\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/super-ali.com\/blog\/#\/schema\/person\/702e9cc913f71eafa71986a1524bec69\",\"name\":\"Honey\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/super-ali.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f30d164cb3517d5b99a570f46f22b32c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f30d164cb3517d5b99a570f46f22b32c?s=96&d=mm&r=g\",\"caption\":\"Honey\"},\"sameAs\":[\"http:\/\/super-ali.com\/blog\"],\"url\":\"https:\/\/super-ali.com\/blog\/author\/honey\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Hack] Build Shopify cart link with automatic discount coupon - Super-Ali Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/","og_locale":"en_US","og_type":"article","og_title":"[Hack] Build Shopify cart link with automatic discount coupon - Super-Ali Blog","og_description":"Becki shared the hack to build a link that takes customers directly to a filled cart, and even automatically apply a discount code. Build a link: https:\/\/yourstore . com\/cart\/{variant_id}:{quantity} Add the variant ID + quantity, then remove the curly brackets. So your link should look like: https:\/\/yourstore . com\/cart\/61546758362}:1 Here&#8217;s how you find your Variant&hellip; Continue reading [Hack] Build Shopify cart link with automatic discount coupon","og_url":"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/","og_site_name":"Super-Ali Blog","article_publisher":"https:\/\/www.facebook.com\/superalicom\/","article_published_time":"2022-03-12T12:44:37+00:00","article_modified_time":"2022-03-12T13:11:35+00:00","og_image":[{"width":1640,"height":902,"url":"https:\/\/super-ali.com\/blog\/wp-content\/uploads\/2022\/03\/Tweet-by-Becki.png","type":"image\/png"}],"author":"Honey","twitter_card":"summary_large_image","twitter_creator":"@superalicom","twitter_site":"@superalicom","twitter_misc":{"Written by":"Honey","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/#article","isPartOf":{"@id":"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/"},"author":{"name":"Honey","@id":"https:\/\/super-ali.com\/blog\/#\/schema\/person\/702e9cc913f71eafa71986a1524bec69"},"headline":"[Hack] Build Shopify cart link with automatic discount coupon","datePublished":"2022-03-12T12:44:37+00:00","dateModified":"2022-03-12T13:11:35+00:00","mainEntityOfPage":{"@id":"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/"},"wordCount":158,"commentCount":0,"publisher":{"@id":"https:\/\/super-ali.com\/blog\/#organization"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/","url":"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/","name":"[Hack] Build Shopify cart link with automatic discount coupon - Super-Ali Blog","isPartOf":{"@id":"https:\/\/super-ali.com\/blog\/#website"},"datePublished":"2022-03-12T12:44:37+00:00","dateModified":"2022-03-12T13:11:35+00:00","breadcrumb":{"@id":"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/super-ali.com\/blog\/hack-build-direct-shopify-cart-link-with-pre-applied-discount-coupon\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/super-ali.com\/blog\/"},{"@type":"ListItem","position":2,"name":"[Hack] Build Shopify cart link with automatic discount coupon"}]},{"@type":"WebSite","@id":"https:\/\/super-ali.com\/blog\/#website","url":"https:\/\/super-ali.com\/blog\/","name":"Super-Ali Blog","description":"Find trending products before spy tools","publisher":{"@id":"https:\/\/super-ali.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/super-ali.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/super-ali.com\/blog\/#organization","name":"Super-Ali","url":"https:\/\/super-ali.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/super-ali.com\/blog\/#\/schema\/logo\/image\/","url":"http:\/\/super-ali.com\/blog\/wp-content\/uploads\/2021\/07\/Super-Ali-Logo-A.jpg","contentUrl":"http:\/\/super-ali.com\/blog\/wp-content\/uploads\/2021\/07\/Super-Ali-Logo-A.jpg","width":2000,"height":2000,"caption":"Super-Ali"},"image":{"@id":"https:\/\/super-ali.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/superalicom\/","https:\/\/twitter.com\/superalicom","https:\/\/www.instagram.com\/superaliofficial","https:\/\/www.youtube.com\/channel\/UCqeqAScuYO5MmU0t2wsZUHg"]},{"@type":"Person","@id":"https:\/\/super-ali.com\/blog\/#\/schema\/person\/702e9cc913f71eafa71986a1524bec69","name":"Honey","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/super-ali.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f30d164cb3517d5b99a570f46f22b32c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f30d164cb3517d5b99a570f46f22b32c?s=96&d=mm&r=g","caption":"Honey"},"sameAs":["http:\/\/super-ali.com\/blog"],"url":"https:\/\/super-ali.com\/blog\/author\/honey\/"}]}},"_links":{"self":[{"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/posts\/163"}],"collection":[{"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/comments?post=163"}],"version-history":[{"count":2,"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/posts\/163\/revisions"}],"predecessor-version":[{"id":166,"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/posts\/163\/revisions\/166"}],"wp:attachment":[{"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/media?parent=163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/categories?post=163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/tags?post=163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}