[{"data":1,"prerenderedAt":1556},["ShallowReactive",2],{"header:help":3,"footer:default":63,"story:navigation\u002Fsearch:help":243,"story:help\u002Fcategories":281,"story:help\u002Fcategories\u002Fcreate-coupons":307,"help:categories:b78008c1-4459-4a26-ad17-2304c133ab12":334,"help:guides:b78008c1-4459-4a26-ad17-2304c133ab12":335,"help:tree:b78008c1-4459-4a26-ad17-2304c133ab12:default":336,"help:articles:b78008c1-4459-4a26-ad17-2304c133ab12":363,"story:contact":1367,"_apollo:default":1555},{"name":4,"created_at":5,"published_at":6,"updated_at":7,"id":8,"uuid":9,"content":10,"slug":53,"full_slug":54,"sort_by_date":55,"position":56,"tag_list":57,"is_startpage":24,"parent_id":58,"meta_data":55,"group_id":59,"first_published_at":60,"release_id":55,"lang":61,"path":55,"alternates":62,"default_full_slug":55,"translated_slugs":55},"Help Center Header","2024-08-09T18:06:34.939Z","2026-07-30T21:52:27.962Z","2026-07-30T21:52:27.975Z",10082752,"3e9b88f7-c163-4657-a2f2-62532d600fad",{"_uid":11,"link":12,"badge":16,"items":17,"title":13,"buttons":45,"new_tab":24,"submenu":46,"subitems":47,"alignment":13,"component":48,"badge_link":49,"top_menu_items":52},"e5645a1a-f991-40e8-8d67-e40ebc082b5a",{"id":13,"url":13,"linktype":14,"fieldtype":15,"cached_url":13},"","story","multilink","Help Center",[18,27,34,39],{"_uid":19,"link":20,"title":23,"new_tab":24,"submenu":25,"component":26},"5cbe2861-1f49-4166-97da-a4dddd8105e3",{"id":21,"url":13,"linktype":14,"fieldtype":15,"cached_url":22},"4c0a2d99-ec30-4579-8ef1-6bf5564d4839","help\u002Fcategories\u002F","Articles",false,[],"header___item",{"_uid":28,"link":29,"title":32,"new_tab":33,"component":26},"8d7df70e-f087-4da0-b616-6f0e9a5af35c",{"id":13,"url":30,"linktype":31,"fieldtype":15,"cached_url":30},"https:\u002F\u002Fapi.foxycart.com\u002F","url","API Documentation",true,{"_uid":35,"link":36,"title":38,"new_tab":33,"component":26},"f76e7944-23d5-4652-87e4-cdae79272762",{"id":13,"url":37,"linktype":31,"fieldtype":15,"cached_url":37},"https:\u002F\u002Fstatus.foxy.io\u002F","System Status",{"_uid":40,"link":41,"title":44,"new_tab":24,"component":26},"0de16771-4c84-466c-a1da-d8568113c71f",{"id":42,"url":13,"linktype":14,"fieldtype":15,"cached_url":43},"01e4e370-f9b9-45af-8fa9-f15540699b0d","contact","Contact Us",[],[],[],"header",{"id":50,"url":13,"linktype":14,"fieldtype":15,"cached_url":51},"4a679eb7-662d-4ea4-a976-5a2acbf0b663","help\u002F",[],"help-header","navigation\u002Fhelp-header",null,20,[],10082747,"71b81c2e-5e09-48a1-a397-a3c72fcd344a","2022-09-21T14:50:25.655Z","default",[],{"name":64,"created_at":65,"published_at":66,"updated_at":67,"id":68,"uuid":69,"content":70,"slug":236,"full_slug":237,"sort_by_date":55,"position":238,"tag_list":239,"is_startpage":24,"parent_id":58,"meta_data":55,"group_id":240,"first_published_at":241,"release_id":55,"lang":61,"path":55,"alternates":242,"default_full_slug":55,"translated_slugs":55},"Default Footer","2024-08-09T18:06:59.024Z","2026-07-30T21:52:27.802Z","2026-07-30T21:52:27.816Z",10082753,"e59e67ac-248a-482f-84a1-53d4f318186a",{"_uid":71,"about":72,"logos":73,"socials":78,"sections":104,"component":218,"cta_title":219,"bottom_links":220,"cta_subtitle":234,"cta_button_link":235,"cta_button_text":179},"830983f5-c4c4-43c8-b150-86a5e3fa6dc8","Foxy’s hosted cart & payment page allow you to sell anything, using your existing website or platform.",[74],{"id":75,"alt":13,"name":13,"focus":13,"title":13,"filename":76,"copyright":13,"fieldtype":77},14760,"https:\u002F\u002Fa-us.storyblok.com\u002Ff\u002F1001040\u002Fx\u002F3b030847ec\u002Fb-corp.svg","asset",[79,86,92,98],{"_uid":80,"icon":81,"link":82,"name":84,"component":85},"faf0a618-ea94-42ea-9182-03be18c43216","fa-facebook",{"id":13,"url":83,"linktype":31,"fieldtype":15,"cached_url":83},"https:\u002F\u002Fwww.facebook.com\u002Ffoxycart","Facebook","footer___social",{"_uid":87,"icon":88,"link":89,"name":91,"component":85},"14309c18-7e79-423e-b375-34555bac0811","fa-instagram",{"id":13,"url":90,"linktype":31,"fieldtype":15,"cached_url":90},"https:\u002F\u002Fwww.instagram.com\u002Ffoxy_io","Instagram",{"_uid":93,"icon":94,"link":95,"name":97,"component":85},"8f7fe7cf-0dd3-4596-8334-226ea466716a","fa-linkedin",{"id":13,"url":96,"linktype":31,"fieldtype":15,"cached_url":96},"https:\u002F\u002Fwww.linkedin.com\u002Fcompany\u002Ffoxycart.com","LinkedIn",{"_uid":99,"icon":100,"link":101,"name":103,"component":85},"90a675b4-dd97-40b5-be09-00a87223d4c5","fa-youtube",{"id":13,"url":102,"linktype":31,"fieldtype":15,"cached_url":102},"https:\u002F\u002Fwww.youtube.com\u002Fuser\u002Ffoxycart","Youtube",[105,135,180,202],{"_uid":106,"name":107,"items":108,"component":134},"82849945-282f-488c-b18d-a8d2252f514a","Company",[109,116,122,128],{"_uid":110,"link":111,"title":114,"new_tab":24,"component":115},"1f699ab1-938b-4d9d-9825-aabcbe6f57fe",{"id":112,"url":13,"linktype":14,"fieldtype":15,"cached_url":113},"63634293-a749-4226-9439-9f38ee6dcda0","about-us","About Us","footer___menu_items",{"_uid":117,"link":118,"title":121,"new_tab":24,"component":115},"b26b00f1-a0e7-4be2-8ab3-428b8cc841f8",{"id":119,"url":13,"linktype":14,"fieldtype":15,"cached_url":120},"26cb7c55-faed-4a77-a291-1552d4111b3e","how-foxy-works","How Foxy Works",{"_uid":123,"link":124,"title":127,"new_tab":24,"component":115},"b40c68a0-1ceb-4226-9515-6176534f61fe",{"id":125,"url":13,"linktype":14,"fieldtype":15,"cached_url":126},"dc6657d7-7f4f-4c0d-b781-e971b038ee26","for-good","Foxy For Good",{"_uid":129,"link":130,"title":133,"new_tab":24,"component":115},"3ad0c134-bef9-4fff-b891-e09f16109036",{"id":131,"url":13,"linktype":14,"fieldtype":15,"cached_url":132},"23cae210-baf4-4588-9862-d09f4f52ccd2","brand-assets","Brand Assets","footer___section",{"_uid":136,"name":137,"items":138,"component":134},"a6805fa8-ac60-47f1-b8f0-f27aded0afbe","Product",[139,145,151,157,163,169,175],{"_uid":140,"link":141,"title":144,"new_tab":24,"component":115},"b39c8a4e-2383-486f-b76a-11fbb15d8134",{"id":142,"url":13,"linktype":14,"fieldtype":15,"cached_url":143},"bb04690f-fe98-4ce6-80be-05b950f2364f","features\u002F","Features",{"_uid":146,"link":147,"title":150,"new_tab":24,"component":115},"64f8a41f-c181-433d-bc0a-fc94e71ecbf6",{"id":148,"url":13,"linktype":14,"fieldtype":15,"cached_url":149},"c450c58d-761d-48c0-a9af-0b064611689b","pricing","Pricing",{"_uid":152,"link":153,"title":156,"new_tab":24,"component":115},"6e0b287f-fd8c-4146-9e0e-0ab0b5c9ce3c",{"id":154,"url":13,"linktype":14,"fieldtype":15,"cached_url":155},"fab20ad9-e76a-4947-b709-3a6fdfa88028","blog\u002Fcategories\u002Fproduct-updates","Product Updates",{"_uid":158,"link":159,"title":162,"new_tab":24,"component":115},"47e5a074-a6b5-4f1c-8c2f-89a2ae9f83eb",{"id":160,"url":13,"linktype":14,"fieldtype":15,"cached_url":161},"d2c83612-d611-47f3-a3b4-ca7fe08540b8","changelogs\u002F","Changelogs",{"_uid":164,"link":165,"title":168,"new_tab":24,"component":115},"b5c08774-542f-4ffd-b357-c94d674488b9",{"id":166,"url":13,"linktype":14,"fieldtype":15,"cached_url":167},"08876121-0df3-4ed9-aa11-902b3e41cd02","whats-next","What's Next",{"_uid":170,"link":171,"title":174,"new_tab":24,"component":115},"9c2704ed-6d9f-43e1-9e67-c8d91c083288",{"id":172,"url":13,"linktype":14,"fieldtype":15,"cached_url":173},"056a7857-b18f-4025-8f97-91a38fc19bc8","compare\u002F","Compare",{"_uid":176,"link":177,"title":179,"new_tab":24,"component":115},"5f2db35b-674b-406a-8fa7-d246633af9fe",{"id":13,"url":178,"linktype":31,"fieldtype":15,"cached_url":178},"https:\u002F\u002Fadmin.foxy.io\u002Fsign-up","Try Foxy Free",{"_uid":181,"name":182,"items":183,"component":134},"63fa1f29-4252-4640-9922-fe310e69e54a","Security",[184,190,196],{"_uid":185,"link":186,"title":189,"new_tab":24,"component":115},"1158ddb6-9eb0-466f-8eb6-7ca2ae66c8b8",{"id":187,"url":13,"linktype":14,"fieldtype":15,"cached_url":188},"1f58fb2c-8681-4742-b6e8-09999beae9f6","security-contact","Security Contact",{"_uid":191,"link":192,"title":195,"new_tab":24,"component":115},"9a79c54a-6022-4dfd-854b-766f5e4703ba",{"id":193,"url":13,"linktype":14,"fieldtype":15,"cached_url":194},"55cbfcc3-425a-4261-8037-54e919851d2d","pci","PCI Compliance",{"_uid":197,"link":198,"title":201,"new_tab":24,"component":115},"0b85f5b6-9534-4071-b323-b39d053dd4d7",{"id":199,"url":13,"linktype":14,"fieldtype":15,"cached_url":200},"c3ac0fe3-83e2-4879-afbd-d4c83e1590df","help\u002Farticles\u002Four-official-domains-public-code","Domains & Codebases",{"_uid":203,"name":204,"items":205,"component":134},"998ded67-d107-49f4-8154-ca6be51671ec","Support",[206,209,212,215],{"_uid":207,"link":208,"title":16,"new_tab":24,"component":115},"594ffd35-3049-4004-bb08-0db568ebd819",{"id":50,"url":13,"linktype":14,"fieldtype":15,"cached_url":51},{"_uid":210,"link":211,"title":32,"new_tab":33,"component":115},"61e0b7c8-aadf-419b-a339-b3ccabc65bf4",{"id":13,"url":30,"linktype":31,"fieldtype":15,"cached_url":30},{"_uid":213,"link":214,"title":38,"new_tab":33,"component":115},"fd67a89e-1c54-4d31-94b5-64be999062d6",{"id":13,"url":37,"linktype":31,"fieldtype":15,"cached_url":37},{"_uid":216,"link":217,"title":44,"new_tab":24,"component":115},"231a6f71-e996-4ad4-b033-d4d5542f34f0",{"id":42,"url":13,"linktype":14,"fieldtype":15,"cached_url":43},"footer","Get started with our *unlimited free trial*.",[221,228],{"_uid":222,"link":223,"text":226,"component":227},"f0b77210-2632-45a2-8436-e57cad84d01a",{"id":224,"url":13,"linktype":14,"fieldtype":15,"cached_url":225},"60ba16a2-c1f4-485f-b978-8d2eeeafbf5a","terms-of-service","Terms of Service","footer___bottom_links",{"_uid":229,"link":230,"text":233,"component":227},"4bd497b0-993f-4b4d-a5b7-8a49c7c8fec9",{"id":231,"url":13,"linktype":14,"fieldtype":15,"cached_url":232},"332302b9-1d18-4016-b9c8-9b33c72d782b","privacy-policy","Privacy Policy","No credit card required.",{"id":13,"url":178,"linktype":31,"fieldtype":15,"cached_url":178},"default-footer","navigation\u002Fdefault-footer",50,[],"11006268-07f9-41e9-96f3-c51fb723399d","2022-09-21T20:39:02.357Z",[],{"name":244,"created_at":245,"published_at":246,"updated_at":247,"id":248,"uuid":249,"content":250,"slug":272,"full_slug":275,"sort_by_date":55,"position":276,"tag_list":277,"is_startpage":24,"parent_id":58,"meta_data":55,"group_id":278,"first_published_at":279,"release_id":55,"lang":61,"path":55,"alternates":280,"default_full_slug":55,"translated_slugs":55},"Search","2024-10-21T22:08:54.973Z","2025-05-26T09:17:25.790Z","2025-05-26T09:17:25.804Z",13592003,"14cbc359-9ac1-4a7a-a8de-ad4ac8ef26d4",{"_uid":251,"name":244,"indices":252,"summary":13,"component":272,"primary_image":273},"5e4a56e8-76f1-4790-b3a7-70f1be97d042",[253,258,262,267],{"key":254,"_uid":255,"icon":13,"name":256,"component":257},"all","c12a3210-7323-4273-8217-5215e52efe84","All","index",{"key":259,"_uid":260,"icon":261,"name":23,"component":257},"help_center_article","5acff080-95e4-44d3-8dcf-1b19720af382","fa-file-alt",{"key":263,"_uid":264,"icon":265,"name":266,"component":257},"help_center_guide","b8fbc206-c083-471e-a1f0-0ebeb90a669d","fa-book","Guides",{"key":268,"_uid":269,"icon":270,"name":271,"component":257},"blog_post","23419e83-2e56-4c4c-8a05-9fd1b3c9a9bd","fa-file-image","Blog Posts","search",{"id":55,"alt":55,"name":13,"focus":55,"title":55,"source":55,"filename":13,"copyright":55,"fieldtype":77,"meta_data":274},{},"navigation\u002Fsearch",60,[],"11e1fd31-95cd-4fc9-b736-8b8910663e6c","2024-10-21T23:17:05.904Z",[],{"name":23,"created_at":282,"published_at":283,"updated_at":284,"id":285,"uuid":21,"content":286,"slug":300,"full_slug":22,"sort_by_date":55,"position":301,"tag_list":302,"is_startpage":33,"parent_id":303,"meta_data":55,"group_id":304,"first_published_at":305,"release_id":55,"lang":61,"path":55,"alternates":306,"default_full_slug":55,"translated_slugs":55},"2022-09-19T14:42:29.685Z","2024-07-30T18:17:22.506Z","2024-07-30T18:17:22.525Z",2660,{"_uid":287,"icon":13,"name":23,"guides":288,"pinned":24,"summary":289,"category":13,"component":290,"blog_posts":291,"content_hub":24,"icon_custom":292,"case_studies":293,"faq_sections":294,"help_articles":295,"featured_guides":296,"mailbox_category":13,"featured_articles":297,"featured_blog_posts":298,"featured_case_studies":299},"d6dae89a-907a-4bf7-82de-fe2ba875ee6e",[],"Get your questions answered with our browsable knowledge base.","help_center_category",[],{"id":55,"alt":55,"name":13,"focus":55,"title":55,"filename":13,"copyright":55,"fieldtype":77},[],[],[],[],[],[],[],"categories",530,[],2658,"19ebcdd2-027f-47f5-9a5b-a8992c959578","2022-09-19T16:24:39.219Z",[],{"name":308,"created_at":309,"published_at":310,"updated_at":311,"id":312,"uuid":313,"content":314,"slug":328,"full_slug":329,"sort_by_date":55,"position":330,"tag_list":331,"is_startpage":24,"parent_id":303,"meta_data":55,"group_id":332,"first_published_at":310,"release_id":55,"lang":61,"path":55,"alternates":333,"default_full_slug":55,"translated_slugs":55},"Create coupons","2026-07-16T16:45:59.556Z","2026-07-16T17:05:22.113Z","2026-07-16T17:05:22.125Z",198781991199122,"b78008c1-4459-4a26-ad17-2304c133ab12",{"_uid":315,"icon":13,"name":308,"type":316,"pinned":24,"summary":317,"category":318,"component":290,"blog_posts":319,"icon_custom":320,"case_studies":322,"faq_sections":323,"featured_guides":324,"mailbox_category":13,"featured_articles":325,"featured_blog_posts":326,"featured_case_studies":327},"56b1797f-8cef-4e21-862f-f256a1cc24be","simple","Create coupons, add codes, and apply them automatically with a link or form.","3399647a-a5ec-4a36-a383-09069b49f04a",[],{"id":55,"alt":55,"name":13,"focus":55,"title":55,"source":55,"filename":13,"copyright":55,"fieldtype":77,"meta_data":321},{},[],[],[],[],[],[],"create-coupons","help\u002Fcategories\u002Fcreate-coupons",-600,[],"559e2c34-94be-4add-b339-84f6a8bdd6b7",[],[],[],[281,337],{"name":338,"created_at":339,"published_at":340,"updated_at":341,"id":342,"uuid":318,"content":343,"slug":357,"full_slug":358,"sort_by_date":55,"position":359,"tag_list":360,"is_startpage":24,"parent_id":303,"meta_data":55,"group_id":361,"first_published_at":340,"release_id":55,"lang":61,"path":55,"alternates":362,"default_full_slug":55,"translated_slugs":55},"Coupons & Discounts","2023-01-19T16:01:39.392Z","2023-01-19T17:25:31.488Z","2023-01-19T17:25:31.508Z",28227,{"_uid":344,"icon":345,"name":338,"guides":346,"summary":347,"category":13,"component":290,"blog_posts":348,"content_hub":24,"icon_custom":349,"case_studies":350,"faq_sections":351,"help_articles":352,"featured_guides":353,"mailbox_category":13,"featured_articles":354,"featured_blog_posts":355,"featured_case_studies":356},"82421646-2a32-455c-b208-c2fd3296459b","fa-badge-percent",[],"Create and manage coupon, product, and category specific discounts.",[],{"id":55,"alt":55,"name":13,"focus":55,"title":55,"filename":13,"copyright":55,"fieldtype":77},[],[],[],[],[],[],[],"coupons-discounts","help\u002Fcategories\u002Fcoupons-discounts",190,[],"d55abf17-72ea-410a-8850-e99c0527aebb",[],[364,569,666,780,951,1238],{"name":365,"created_at":366,"published_at":367,"updated_at":368,"id":369,"uuid":370,"content":371,"slug":562,"full_slug":563,"sort_by_date":55,"position":564,"tag_list":565,"is_startpage":24,"parent_id":566,"meta_data":55,"group_id":567,"first_published_at":367,"release_id":55,"lang":61,"path":55,"alternates":568,"default_full_slug":55,"translated_slugs":55},"Add a coupon automatically with a link or form","2026-07-16T17:21:55.762Z","2026-07-16T19:08:40.296Z","2026-07-16T19:08:40.310Z",198790823017765,"78e94f5e-4d11-4cf9-92a1-6d335b769cfe",{"_uid":372,"body":373,"name":365,"image":558,"pinned":24,"summary":560,"category":313,"component":259,"related_articles":561},"269567bc-5951-416c-a8aa-9334e214cc33",{"type":374,"content":375},"doc",[376,390,404,411,477,482,493,498,504,509,514,524,529],{"type":377,"attrs":378,"content":379},"paragraph",{"textAlign":55},[380,383,388],{"text":381,"type":382},"You can apply an existing coupon automatically by adding the ","text",{"text":384,"type":382,"marks":385},"coupon",[386],{"type":387},"code",{"text":389,"type":382}," parameter to a product's add to cart link or form. The customer does not have to type the code, and it applies once the order meets the coupon's requirements.",{"type":377,"attrs":391,"content":392},{"textAlign":55},[393,395,402],{"text":394,"type":382},"Create the coupon first (see ",{"text":396,"type":382,"marks":397},"Create a coupon",[398],{"type":399,"attrs":400},"link",{"href":401,"uuid":55,"anchor":55,"target":55,"linktype":31},"https:\u002F\u002Ffoxy.io\u002Fhelp\u002Farticles\u002Fcreate-a-coupon",{"text":403,"type":382},"), then use one of the methods below.",{"type":405,"attrs":406,"content":408},"heading",{"level":407,"textAlign":55},2,[409],{"text":410,"type":382},"Using Link & Form Builder",{"type":412,"attrs":413,"content":415},"ordered_list",{"order":414},1,[416,432,445,452,470],{"type":417,"content":418},"list_item",[419],{"type":377,"attrs":420,"content":421},{"textAlign":55},[422,424,430],{"text":423,"type":382},"Go to the ",{"text":425,"type":382,"marks":426},"Foxy admin",[427],{"type":399,"attrs":428},{"href":429,"uuid":55,"anchor":55,"target":55,"linktype":31},"https:\u002F\u002Fadmin.foxy.io",{"text":431,"type":382},".",{"type":417,"content":433},[434],{"type":377,"attrs":435,"content":436},{"textAlign":55},[437,439,444],{"text":438,"type":382},"Go to ",{"text":440,"type":382,"marks":441},"Link & Form Builder",[442],{"type":443},"bold",{"text":431,"type":382},{"type":417,"content":446},[447],{"type":377,"attrs":448,"content":449},{"textAlign":55},[450],{"text":451,"type":382},"Build or select your item.",{"type":417,"content":453},[454],{"type":377,"attrs":455,"content":456},{"textAlign":55},[457,459,463,465,469],{"text":458,"type":382},"Under ",{"text":460,"type":382,"marks":461},"Settings",[462],{"type":443},{"text":464,"type":382},", enter the coupon's code in ",{"text":466,"type":382,"marks":467},"Coupon code",[468],{"type":443},{"text":431,"type":382},{"type":417,"content":471},[472],{"type":377,"attrs":473,"content":474},{"textAlign":55},[475],{"text":476,"type":382},"Copy the generated link or form and add it to your site.",{"type":405,"attrs":478,"content":479},{"level":407,"textAlign":55},[480],{"text":481,"type":382},"Editing the link or form directly",{"type":377,"attrs":483,"content":484},{"textAlign":55},[485,487,491],{"text":486,"type":382},"Add ",{"text":488,"type":382,"marks":489},"coupon=CODE",[490],{"type":387},{"text":492,"type":382}," to the add to cart link or form.",{"type":377,"attrs":494,"content":495},{"textAlign":55},[496],{"text":497,"type":382},"Link example:",{"type":499,"attrs":500,"content":501},"code_block",{"class":55},[502],{"text":503,"type":382},"\u003Ca href=\"https:\u002F\u002FYOURSTORE.foxycart.com\u002Fcart?name=Flute+Swab&price=10&coupon=20OFF20\">\n    Add to Cart\n\u003C\u002Fa>",{"type":377,"attrs":505,"content":506},{"textAlign":55},[507],{"text":508,"type":382},"Form example:",{"type":499,"attrs":510,"content":511},{"class":55},[512],{"text":513,"type":382},"\u003Cinput type=\"hidden\" name=\"coupon\" value=\"20OFF20\" \u002F>",{"type":377,"attrs":515,"content":516},{"textAlign":55},[517,519,523],{"text":518,"type":382},"To add more than one coupon at once, separate codes with commas: ",{"text":520,"type":382,"marks":521},"coupon=code1,code2,code3",[522],{"type":387},{"text":431,"type":382},{"type":405,"attrs":525,"content":526},{"level":407,"textAlign":55},[527],{"text":528,"type":382},"Notes",{"type":530,"content":531},"bullet_list",[532,539,551],{"type":417,"content":533},[534],{"type":377,"attrs":535,"content":536},{"textAlign":55},[537],{"text":538,"type":382},"The coupon must already exist in the admin.",{"type":417,"content":540},[541],{"type":377,"attrs":542,"content":543},{"textAlign":55},[544,546,549],{"text":545,"type":382},"The ",{"text":384,"type":382,"marks":547},[548],{"type":387},{"text":550,"type":382}," parameter does not need to be encrypted, even if you use add to cart link and form HMAC encryption.",{"type":417,"content":552},[553],{"type":377,"attrs":554,"content":555},{"textAlign":55},[556],{"text":557,"type":382},"The discount only applies when the order matches the coupon's requirements.",{"id":55,"alt":55,"name":13,"focus":55,"title":55,"source":55,"filename":13,"copyright":55,"fieldtype":77,"meta_data":559},{},"How to apply a Foxy coupon automatically through an add to cart link or form using the coupon parameter, so the customer doesn't have to enter a code.",[],"add-a-coupon-automatically-with-a-link-or-form","help\u002Farticles\u002Fadd-a-coupon-automatically-with-a-link-or-form",-3250,[],2659,"6bddc81f-85db-43e2-b324-369c5e357806",[],{"name":570,"created_at":571,"published_at":572,"updated_at":573,"id":574,"uuid":575,"content":576,"slug":660,"full_slug":661,"sort_by_date":55,"position":662,"tag_list":663,"is_startpage":24,"parent_id":566,"meta_data":55,"group_id":664,"first_published_at":572,"release_id":55,"lang":61,"path":55,"alternates":665,"default_full_slug":55,"translated_slugs":55},"Add or remove a coupon based on items in the cart","2026-07-21T14:41:28.250Z","2026-07-22T17:45:03.605Z","2026-07-22T17:45:03.627Z",200520860740532,"93e734a7-6c54-4394-9d99-cf8fa30a0185",{"_uid":577,"body":578,"name":570,"image":656,"pinned":24,"summary":658,"category":313,"component":259,"related_articles":659},"46b2cb7d-cbce-43ef-ac9b-c9c2fa0a5eb2",{"type":374,"content":579},[580,585,590,595,600,629,634,639],{"type":377,"attrs":581,"content":582},{"textAlign":55},[583],{"text":584,"type":382},"If you have a promotion that you're offering, such as \"purchase x product and receive x off of x product\", you'll want to make sure that the user can't override the purchase requirement by adding the required product, receiving the discount on the second product, then removing the original required product.",{"type":377,"attrs":586,"content":587},{"textAlign":55},[588],{"text":589,"type":382},"This snippet looks for the presence of a specific coupon (based on the code), and the total quantity of any products with a specific code. Then if the coupon is there but the products are not, it removes the coupon. If it has the products, but not the coupon, it adds it. This logic is run on page load of the checkout, along with whenever a product is removed, quantity updated or coupon added on the checkout. This should then ensure that the coupon is only present when the required conditions are met.",{"type":377,"attrs":591,"content":592},{"textAlign":55},[593],{"text":594,"type":382},"The script is based on the quantity of a specific product code - but it can be adjusted as needed, whether you need it for a specific category of products, or a specific total order amount of specific products rather than quantity.",{"type":405,"attrs":596,"content":597},{"level":407,"textAlign":55},[598],{"text":599,"type":382},"Step 1: Apply the snippet to your configuration",{"type":377,"attrs":601,"content":602},{"textAlign":55},[603,605,609,611,615,617,621,623,627],{"text":604,"type":382},"In the Foxy admin (",{"text":429,"type":382,"marks":606},[607],{"type":399,"attrs":608},{"href":429,"uuid":55,"anchor":55,"target":55,"linktype":31},{"text":610,"type":382},"), go to ",{"text":612,"type":382,"marks":613},"Settings > Templates",[614],{"type":443},{"text":616,"type":382}," and add the code to the ",{"text":618,"type":382,"marks":619},"Custom footer",[620],{"type":443},{"text":622,"type":382}," field (Twig is supported; it is injected before the closing ",{"text":624,"type":382,"marks":625},"\u003C\u002Fbody>",[626],{"type":387},{"text":628,"type":382}," tag).",{"type":499,"attrs":630,"content":631},{"class":55},[632],{"text":633,"type":382},"{% if context == \"checkout\" %}\n\u003Cscript>\nFC.client.on(\"ready.done\", checkPromoProducts);\nFC.client.on(\"cart-item-remove.done\", checkPromoProducts);\nFC.client.on(\"cart-item-quantity-update.done\", checkPromoProducts);\nFC.client.on(\"cart-coupon-add.done\", checkPromoProducts);\n \nfunction checkPromoProducts() {\n    var coupon_code = \"COUPON_CODE\",\n        product_a_qty = 0,\n        coupon_id = 0;\n \n    if (FC.json.coupons.hasOwnProperty(coupon_code)) {\n        coupon_id = FC.json.coupons[coupon_code].id;\n    } \n\n    for (var i = 0; i \u003C FC.json.items.length; i++) {\n        if (FC.json.items[i].code == \"PRODUCT_CODE\") {\n            product_a_qty += FC.json.items[i].quantity;\n        }\n    }\n\n    if (coupon_id > 0 && product_a_qty == 0) {\n        \u002F\u002F The coupon shouldn't apply anymore\n        FC.client.request(\"https:\u002F\u002F\" + FC.settings.storedomain + \"\u002Fcart?cart=remove_coupon&coupon_code_id=\" + coupon_id).done(function(dataJSON) {\n            FC.cart.render();\n        });\n    } else if (coupon_id == 0 && product_a_qty > 0) {\n        \u002F\u002F They should have the coupon, let's add it\n        FC.client.request(\"https:\u002F\u002F\" + FC.settings.storedomain + \"\u002Fcart?coupon=\" + coupon_code).done(function(dataJSON) {\n            FC.cart.render();\n        });\n    }\n}\n\u003C\u002Fscript>\n{% endif %}",{"type":405,"attrs":635,"content":636},{"level":407,"textAlign":55},[637],{"text":638,"type":382},"Step 2: Customize conditions",{"type":377,"attrs":640,"content":641},{"textAlign":55},[642,644,648,650,654],{"text":643,"type":382},"You'll also need to update the coupon code string in the script (it's near the top as ",{"text":645,"type":382,"marks":646},"\"COUPON_CODE\"",[647],{"type":387},{"text":649,"type":382},") and the product code string too (shown as ",{"text":651,"type":382,"marks":652},"\"PRODUCT_CODE\"",[653],{"type":387},{"text":655,"type":382},") to the coupon code you created.",{"id":55,"alt":55,"name":13,"focus":55,"title":55,"source":55,"filename":13,"copyright":55,"fieldtype":77,"meta_data":657},{},"How to automatically add or remove a coupon when a required product is added to or removed from the cart.",[],"add-or-remove-a-coupon-based-on-items-in-the-cart","help\u002Farticles\u002Fadd-or-remove-a-coupon-based-on-items-in-the-cart",-4070,[],"268bc5c6-1cbf-45be-9c98-5df9f51f4549",[],{"name":667,"created_at":668,"published_at":669,"updated_at":670,"id":671,"uuid":672,"content":673,"slug":774,"full_slug":775,"sort_by_date":55,"position":776,"tag_list":777,"is_startpage":24,"parent_id":566,"meta_data":55,"group_id":778,"first_published_at":669,"release_id":55,"lang":61,"path":55,"alternates":779,"default_full_slug":55,"translated_slugs":55},"Automatically add a coupon to the cart","2026-07-22T16:58:03.254Z","2026-07-22T17:44:58.555Z","2026-07-22T17:44:58.570Z",200908321858301,"1591c244-d640-44ca-a434-55e9059cc113",{"_uid":674,"body":675,"name":667,"image":770,"pinned":24,"summary":772,"category":313,"component":259,"related_articles":773},"229cd120-e9ed-43e5-aa6e-628f5f75987b",{"type":374,"content":676},[677,682,687,692,697,714,719,724,729,751,755,760],{"type":377,"attrs":678,"content":679},{"textAlign":55},[680],{"text":681,"type":382},"Currently Foxy coupons require the customer add them to the cart using a code on the cart or checkout. Sometimes though you'd like to offer a discount automatically to your customers, without them needing to add a code.",{"type":377,"attrs":683,"content":684},{"textAlign":55},[685],{"text":686,"type":382},"To do that, you can add a small bit of javascript to your own website (not your store templates), that looks like this:",{"type":377,"attrs":688,"content":689},{"textAlign":55},[690],{"text":691,"type":382},"javascript",{"type":499,"attrs":693,"content":694},{"class":55},[695],{"text":696,"type":382},"\u003Cscript>\nvar FC = FC || {};\nFC.onLoad = function () {\n    FC.client.on('ready.done', function () {\n        var code = \"YOUR_COUPON_CODE\";\n        if (!FC.json.coupons.hasOwnProperty(code)) {\n            FC.client.request('https:\u002F\u002F'+FC.settings.storedomain+'\u002Fcart?coupon=' + code).done(function() {\n                if (FC.util.hasError('coupon')) {\n                    FC.util.removeError('coupon');\n                }\n            });\n        }\n    });\n}\n\u003C\u002Fscript>",{"type":377,"attrs":698,"content":699},{"textAlign":55},[700,702,706,708,712],{"text":701,"type":382},"Include that code on your own website, making sure that you're also including the ",{"text":703,"type":382,"marks":704},"loader.js",[705],{"type":387},{"text":707,"type":382}," file for your store. Within that code, you will also need to update the ",{"text":709,"type":382,"marks":710},"YOUR_COUPON_CODE",[711],{"type":387},{"text":713,"type":382}," value to be the code for the specific coupon you're wanting to add automatically.",{"type":377,"attrs":715,"content":716},{"textAlign":55},[717],{"text":718,"type":382},"This script will also clear out any error that may be returned when trying to add the coupon to the cart in the background. This could happen for example if the code doesn't match a coupon for your store, or the coupon isn't active based on the start\u002Fend dates.",{"type":405,"attrs":720,"content":721},{"level":407,"textAlign":55},[722],{"text":723,"type":382},"Optional: Add from the cart\u002Fcheckout too",{"type":377,"attrs":725,"content":726},{"textAlign":55},[727],{"text":728,"type":382},"The above script will just check if a coupon is present when each page loads on your website, and add the coupon in the background. If you want to ensure that the customer has that coupon still when they reach the checkout (for example, if they accidentally removed it or cleared their cart), then you can use the following code.",{"type":377,"attrs":730,"content":731},{"textAlign":55},[732,733,737,738,741,742,745,746,749],{"text":604,"type":382},{"text":429,"type":382,"marks":734},[735],{"type":399,"attrs":736},{"href":429,"uuid":55,"anchor":55,"target":55,"linktype":31},{"text":610,"type":382},{"text":612,"type":382,"marks":739},[740],{"type":443},{"text":616,"type":382},{"text":618,"type":382,"marks":743},[744],{"type":443},{"text":622,"type":382},{"text":624,"type":382,"marks":747},[748],{"type":387},{"text":750,"type":382}," tag):",{"type":377,"attrs":752,"content":753},{"textAlign":55},[754],{"text":691,"type":382},{"type":499,"attrs":756,"content":757},{"class":55},[758],{"text":759,"type":382},"{% if context == \"cart\" or context == \"checkout\" %}\n\u003Cscript>\nfunction addCoupon() {\n    var code = \"YOUR-COUPON-CODE\";\n    if (code != \"\" && !FC.json.coupons.hasOwnProperty(code)) {\n        FC.client.request('https:\u002F\u002F'+FC.settings.storedomain+'\u002Fcart?coupon=' + code).done(function() {\n            if (FC.util.hasError('coupon')) {\n                FC.util.removeError('coupon');\n            }\n            FC[FC.json.context].render();\n        });\n    }\n}\n\nFC.client.on(\"ready.done\", addCoupon);\nFC.client.on(\"cart-coupon-remove.done\", addCoupon);\n{% if context == \"cart\" and not cart_is_fullpage %}\n    if (typeof cart_callback == \"undefined\") {\n        FC.client.on(\"cart-submit.done\", addCoupon);\n        cart_callback = true;\n    }\n{% endif %}\n\u003C\u002Fscript>\n{% endif %}",{"type":377,"attrs":761,"content":762},{"textAlign":55},[763,765,768],{"text":764,"type":382},"As with above - you'll need to update that script to replace ",{"text":709,"type":382,"marks":766},[767],{"type":387},{"text":769,"type":382}," with your actual code.",{"id":55,"alt":55,"name":13,"focus":55,"title":55,"source":55,"filename":13,"copyright":55,"fieldtype":77,"meta_data":771},{},"How to apply a coupon to the customer's cart automatically, without them entering a code.",[],"automatically-add-a-coupon-to-the-cart","help\u002Farticles\u002Fautomatically-add-a-coupon-to-the-cart",-4300,[],"a76a2633-d3a5-4177-bb08-2863fa0ebcd7",[],{"name":781,"created_at":782,"published_at":783,"updated_at":784,"id":785,"uuid":786,"content":787,"slug":944,"full_slug":945,"sort_by_date":55,"position":946,"tag_list":947,"is_startpage":24,"parent_id":566,"meta_data":55,"group_id":948,"first_published_at":949,"release_id":55,"lang":61,"path":55,"alternates":950,"default_full_slug":55,"translated_slugs":55},"Create a Buy One, Get One Coupon","2023-01-24T09:59:29.886Z","2026-07-16T18:21:31.471Z","2026-07-16T18:21:31.480Z",30537,"b312f323-3b2f-4ac8-9e8e-54990732417d",{"_uid":788,"body":789,"name":781,"image":941,"pinned":24,"summary":942,"category":313,"component":259,"related_articles":943},"23815b4c-b729-4aa2-ade6-96836b5c121d",{"type":374,"content":790},[791,796,801,899,903],{"type":377,"attrs":792,"content":793},{"textAlign":55},[794],{"text":795,"type":382},"A Buy One, Get One (BOGO) offer is a repeat discount: for a set number of qualifying items, another item is discounted, and the pattern repeats.",{"type":405,"attrs":797,"content":798},{"level":407,"textAlign":55},[799],{"text":800,"type":382},"Steps",{"type":412,"attrs":802,"content":803},{"order":414},[804,815,833,846,887],{"type":417,"content":805},[806],{"type":377,"attrs":807,"content":808},{"textAlign":55},[809,810,814],{"text":423,"type":382},{"text":425,"type":382,"marks":811},[812],{"type":399,"attrs":813},{"href":429,"uuid":55,"anchor":55,"target":55,"linktype":31},{"text":431,"type":382},{"type":417,"content":816},[817],{"type":377,"attrs":818,"content":819},{"textAlign":55},[820,821,825,827,831],{"text":438,"type":382},{"text":822,"type":382,"marks":823},"Coupons",[824],{"type":443},{"text":826,"type":382}," and click the ",{"text":828,"type":382,"marks":829},"+",[830],{"type":443},{"text":832,"type":382}," (New coupon) button.",{"type":417,"content":834},[835],{"type":377,"attrs":836,"content":837},{"textAlign":55},[838,840,844],{"text":839,"type":382},"Enter a ",{"text":841,"type":382,"marks":842},"Name",[843],{"type":443},{"text":845,"type":382}," such as \"Buy One, Get One Free\".",{"type":417,"content":847},[848,862],{"type":377,"attrs":849,"content":850},{"textAlign":55},[851,852,856,858],{"text":458,"type":382},{"text":853,"type":382,"marks":854},"Rules",[855],{"type":443},{"text":857,"type":382},", set: ",{"text":859,"type":382,"marks":860},"IF quantity ≥ 2 THEN reduce price of next item BY 100 % percentage",[861],{"type":387},{"type":530,"content":863},[864,875],{"type":417,"content":865},[866],{"type":377,"attrs":867,"content":868},{"textAlign":55},[869,873],{"text":870,"type":382,"marks":871},"price of next item",[872],{"type":443},{"text":874,"type":382}," is the repeat type. It discounts every second item.",{"type":417,"content":876},[877],{"type":377,"attrs":878,"content":879},{"textAlign":55},[880,882,886],{"text":881,"type":382},"For \"buy 3, get the 4th at 50% off\", use: ",{"text":883,"type":382,"marks":884},"IF quantity ≥ 4 THEN reduce price of next item BY 50 % percentage",[885],{"type":387},{"text":431,"type":382},{"type":417,"content":888},[889],{"type":377,"attrs":890,"content":891},{"textAlign":55},[892,894,898],{"text":893,"type":382},"Save the coupon, then add a code under ",{"text":895,"type":382,"marks":896},"Codes",[897],{"type":443},{"text":431,"type":382},{"type":405,"attrs":900,"content":901},{"level":407,"textAlign":55},[902],{"text":528,"type":382},{"type":530,"content":904},[905,912,919],{"type":417,"content":906},[907],{"type":377,"attrs":908,"content":909},{"textAlign":55},[910],{"text":911,"type":382},"BOGO uses the repeat type (price of next item), which repeats its single tier: buy 2 get 1, buy 4 get 2, and so on.",{"type":417,"content":913},[914],{"type":377,"attrs":915,"content":916},{"textAlign":55},[917],{"text":918,"type":382},"The repeat type accepts only one tier.",{"type":417,"content":920},[921],{"type":377,"attrs":922,"content":923},{"textAlign":55},[924,926,932,934,940],{"text":925,"type":382},"You can also build a BOGO offer as a product or category discount if you prefer it to apply automatically without a code. See ",{"text":927,"type":382,"marks":928},"Set up a product discount",[929],{"type":399,"attrs":930},{"href":931,"uuid":55,"anchor":55,"target":55,"linktype":31},"https:\u002F\u002Ffoxy.io\u002Fhelp\u002Farticles\u002Fset-up-a-product-discount",{"text":933,"type":382}," and ",{"text":935,"type":382,"marks":936},"Set up a category discount",[937],{"type":399,"attrs":938},{"href":939,"uuid":55,"anchor":55,"target":55,"linktype":31},"https:\u002F\u002Ffoxy.io\u002Fhelp\u002Farticles\u002Fset-up-a-category-discount",{"text":431,"type":382},{"id":55,"alt":55,"name":13,"focus":55,"title":55,"filename":13,"copyright":55,"fieldtype":77},"How to create a Buy One, Get One (BOGO) coupon in Foxy, plus other repeat-style offers like \"buy 3, get the 4th half off\".",[],"create-a-buy-one-get-one-coupon","help\u002Farticles\u002Fcreate-a-buy-one-get-one-coupon",-360,[],"23e725fa-8672-479e-bd9f-03681bb763ed","2023-01-24T10:01:58.934Z",[],{"name":396,"created_at":952,"published_at":953,"updated_at":954,"id":955,"uuid":956,"content":957,"slug":1231,"full_slug":1232,"sort_by_date":55,"position":1233,"tag_list":1234,"is_startpage":24,"parent_id":566,"meta_data":55,"group_id":1235,"first_published_at":1236,"release_id":55,"lang":61,"path":55,"alternates":1237,"default_full_slug":55,"translated_slugs":55},"2026-07-16T17:20:08.424Z","2026-07-16T19:42:57.512Z","2026-07-16T19:42:57.531Z",198790383353120,"33c9103b-652a-4a63-84b9-69bdd18e3b5c",{"_uid":958,"body":959,"name":396,"image":1227,"pinned":33,"summary":1229,"category":313,"component":259,"related_articles":1230},"126e3ee9-0080-4716-a36d-96af9357c0f7",{"type":374,"content":960},[961,966,970,1130,1134],{"type":377,"attrs":962,"content":963},{"textAlign":55},[964],{"text":965,"type":382},"Create a coupon when you want customers to receive a discount by entering a code, or by having it applied automatically.",{"type":405,"attrs":967,"content":968},{"level":407,"textAlign":55},[969],{"text":800,"type":382},{"type":412,"attrs":971,"content":972},{"order":414},[973,984,994,1005,1016,1104,1111],{"type":417,"content":974},[975],{"type":377,"attrs":976,"content":977},{"textAlign":55},[978,979,983],{"text":423,"type":382},{"text":425,"type":382,"marks":980},[981],{"type":399,"attrs":982},{"href":429,"uuid":55,"anchor":55,"target":55,"linktype":31},{"text":431,"type":382},{"type":417,"content":985},[986],{"type":377,"attrs":987,"content":988},{"textAlign":55},[989,990,993],{"text":438,"type":382},{"text":822,"type":382,"marks":991},[992],{"type":443},{"text":431,"type":382},{"type":417,"content":995},[996],{"type":377,"attrs":997,"content":998},{"textAlign":55},[999,1001,1004],{"text":1000,"type":382},"Click the ",{"text":828,"type":382,"marks":1002},[1003],{"type":443},{"text":832,"type":382},{"type":417,"content":1006},[1007],{"type":377,"attrs":1008,"content":1009},{"textAlign":55},[1010,1011,1014],{"text":839,"type":382},{"text":841,"type":382,"marks":1012},[1013],{"type":443},{"text":1015,"type":382},". This is visible to customers in the cart, so make it clear (for example, \"Spring Sale 15% Off\").",{"type":417,"content":1017},[1018,1043],{"type":377,"attrs":1019,"content":1020},{"textAlign":55},[1021,1023,1026,1028,1032,1034,1037,1039],{"text":1022,"type":382},"Build the discount under ",{"text":853,"type":382,"marks":1024},[1025],{"type":443},{"text":1027,"type":382},". Open the dropdown at the top right of the Rules section (it shows ",{"text":1029,"type":382,"marks":1030},"Custom discount",[1031],{"type":443},{"text":1033,"type":382}," by default) to pick a ready-made example as a starting point, such as \"-10% on orders of 5+; -20% on orders of 10+\", or choose ",{"text":1029,"type":382,"marks":1035},[1036],{"type":443},{"text":1038,"type":382}," to build your own. Each rule reads: ",{"text":1040,"type":382,"marks":1041},"IF [quantity or total] ≥ [tier] THEN [reduce or increase] [target] BY [value] [% percentage or ¤ amount]",[1042],{"type":387},{"type":530,"content":1044},[1045,1064,1085,1092],{"type":417,"content":1046},[1047],{"type":377,"attrs":1048,"content":1049},{"textAlign":55},[1050,1052,1056,1058,1062],{"text":1051,"type":382},"Choose ",{"text":1053,"type":382,"marks":1054},"reduce",[1055],{"type":443},{"text":1057,"type":382}," for a discount. (",{"text":1059,"type":382,"marks":1060},"increase",[1061],{"type":443},{"text":1063,"type":382}," applies a surcharge instead.)",{"type":417,"content":1065},[1066],{"type":377,"attrs":1067,"content":1068},{"textAlign":55},[1069,1071,1075,1077,1083],{"text":1070,"type":382},"Choose the ",{"text":1072,"type":382,"marks":1073},"target",[1074],{"type":443},{"text":1076,"type":382},": order total, price of each item, price of additional items, or price of next item. See ",{"text":1078,"type":382,"marks":1079},"Discount syntax reference",[1080],{"type":399,"attrs":1081},{"href":1082,"uuid":55,"anchor":55,"target":55,"linktype":31},"https:\u002F\u002Ffoxy.io\u002Fhelp\u002Farticles\u002Fdiscount-syntax-reference",{"text":1084,"type":382}," for what each does.",{"type":417,"content":1086},[1087],{"type":377,"attrs":1088,"content":1089},{"textAlign":55},[1090],{"text":1091,"type":382},"Add more rules to create additional tiers.",{"type":417,"content":1093},[1094],{"type":377,"attrs":1095,"content":1096},{"textAlign":55},[1097,1098,1102],{"text":545,"type":382},{"text":1099,"type":382,"marks":1100},"Applied discount",[1101],{"type":443},{"text":1103,"type":382}," line beneath the rules previews the result in plain language.",{"type":417,"content":1105},[1106],{"type":377,"attrs":1107,"content":1108},{"textAlign":55},[1109],{"text":1110,"type":382},"Save the coupon.",{"type":417,"content":1112},[1113],{"type":377,"attrs":1114,"content":1115},{"textAlign":55},[1116,1118,1121,1123,1129],{"text":1117,"type":382},"After saving, add at least one code under ",{"text":895,"type":382,"marks":1119},[1120],{"type":443},{"text":1122,"type":382},". Enter a code and confirm. To create many codes at once, see ",{"text":1124,"type":382,"marks":1125},"Generate multiple coupon codes at once",[1126],{"type":399,"attrs":1127},{"href":1128,"uuid":55,"anchor":55,"target":55,"linktype":31},"https:\u002F\u002Ffoxy.io\u002Fhelp\u002Farticles\u002Fgenerate-multiple-coupon-codes-at-once",{"text":431,"type":382},{"type":405,"attrs":1131,"content":1132},{"level":407,"textAlign":55},[1133],{"text":528,"type":382},{"type":530,"content":1135},[1136,1143,1178,1185,1192],{"type":417,"content":1137},[1138],{"type":377,"attrs":1139,"content":1140},{"textAlign":55},[1141],{"text":1142,"type":382},"A coupon needs at least one discount rule and at least one code before it can be used.",{"type":417,"content":1144},[1145],{"type":377,"attrs":1146,"content":1147},{"textAlign":55},[1148,1150,1154,1156,1160,1162,1165,1167,1171,1172,1176],{"text":1149,"type":382},"Codes can include letters, numbers, and ",{"text":1151,"type":382,"marks":1152},"-",[1153],{"type":387},{"text":1155,"type":382},", ",{"text":1157,"type":382,"marks":1158},"_",[1159],{"type":387},{"text":1161,"type":382},", and ",{"text":431,"type":382,"marks":1163},[1164],{"type":387},{"text":1166,"type":382},", up to 50 characters. They are case insensitive, so ",{"text":1168,"type":382,"marks":1169},"SAVE10",[1170],{"type":387},{"text":933,"type":382},{"text":1173,"type":382,"marks":1174},"save10",[1175],{"type":387},{"text":1177,"type":382}," are the same code.",{"type":417,"content":1179},[1180],{"type":377,"attrs":1181,"content":1182},{"textAlign":55},[1183],{"text":1184,"type":382},"Choose readable codes to avoid confusion (0 vs O, 1 vs l vs I).",{"type":417,"content":1186},[1187],{"type":377,"attrs":1188,"content":1189},{"textAlign":55},[1190],{"text":1191,"type":382},"Codes, item category restrictions, and attributes can only be added after the coupon is first saved.",{"type":417,"content":1193},[1194],{"type":377,"attrs":1195,"content":1196},{"textAlign":55},[1197,1199,1205,1206,1212,1213,1219,1220,1226],{"text":1198,"type":382},"To restrict, limit, schedule, or change how a coupon combines, see: ",{"text":1200,"type":382,"marks":1201},"Restrict a coupon to specific products",[1202],{"type":399,"attrs":1203},{"href":1204,"uuid":55,"anchor":55,"target":55,"linktype":31},"https:\u002F\u002Ffoxy.io\u002Fhelp\u002Farticles\u002Frestrict-a-coupon-to-specific-products",{"text":1155,"type":382},{"text":1207,"type":382,"marks":1208},"Restrict a coupon to specific customers",[1209],{"type":399,"attrs":1210},{"href":1211,"uuid":55,"anchor":55,"target":55,"linktype":31},"https:\u002F\u002Ffoxy.io\u002Fhelp\u002Farticles\u002Frestrict-a-coupon-to-specific-customers",{"text":1155,"type":382},{"text":1214,"type":382,"marks":1215},"Limit coupon usage and set valid dates",[1216],{"type":399,"attrs":1217},{"href":1218,"uuid":55,"anchor":55,"target":55,"linktype":31},"https:\u002F\u002Ffoxy.io\u002Fhelp\u002Farticles\u002Flimit-coupon-usage-and-set-valid-dates",{"text":1161,"type":382},{"text":1221,"type":382,"marks":1222},"Control how coupons combine with other discounts",[1223],{"type":399,"attrs":1224},{"href":1225,"uuid":55,"anchor":55,"target":55,"linktype":31},"https:\u002F\u002Ffoxy.io\u002Fhelp\u002Farticles\u002Fcontrol-how-coupons-combine-with-other-discounts",{"text":431,"type":382},{"id":55,"alt":55,"name":13,"focus":55,"title":55,"source":55,"filename":13,"copyright":55,"fieldtype":77,"meta_data":1228},{},"How to create a coupon in Foxy, set its discount rules, and add a code customers can enter at checkout.",[],"create-a-coupon","help\u002Farticles\u002Fcreate-a-coupon",-3240,[],"68fef619-18c4-4868-bf85-9ef292b99c9f","2026-07-16T19:08:40.598Z",[],{"name":1124,"created_at":1239,"published_at":1240,"updated_at":1241,"id":1242,"uuid":1243,"content":1244,"slug":1361,"full_slug":1362,"sort_by_date":55,"position":1363,"tag_list":1364,"is_startpage":24,"parent_id":566,"meta_data":55,"group_id":1365,"first_published_at":1240,"release_id":55,"lang":61,"path":55,"alternates":1366,"default_full_slug":55,"translated_slugs":55},"2026-07-16T18:17:34.265Z","2026-07-16T19:08:39.265Z","2026-07-16T19:08:39.281Z",198804497511682,"d1815c32-2579-4ee7-ad0d-d53237930b37",{"_uid":1245,"body":1246,"name":1124,"image":1357,"pinned":24,"summary":1359,"category":313,"component":259,"related_articles":1360},"8b94222d-59ba-4dce-af88-b90af89aa623",{"type":374,"content":1247},[1248,1253,1263,1267,1330,1334],{"type":377,"attrs":1249,"content":1250},{"textAlign":55},[1251],{"text":1252,"type":382},"Generate a batch of unique codes that all share the same coupon's discount. This is useful for single-use codes, mail merges, or large distributions where each recipient needs their own code.",{"type":377,"attrs":1254,"content":1255},{"textAlign":55},[1256,1257,1261],{"text":394,"type":382},{"text":396,"type":382,"marks":1258},[1259],{"type":399,"attrs":1260},{"href":401,"uuid":55,"anchor":55,"target":55,"linktype":31},{"text":1262,"type":382},"), then generate or import codes.",{"type":405,"attrs":1264,"content":1265},{"level":407,"textAlign":55},[1266],{"text":800,"type":382},{"type":412,"attrs":1268,"content":1269},{"order":414},[1270,1286,1305],{"type":417,"content":1271},[1272],{"type":377,"attrs":1273,"content":1274},{"textAlign":55},[1275,1276,1280,1282,1285],{"text":423,"type":382},{"text":425,"type":382,"marks":1277},[1278],{"type":399,"attrs":1279},{"href":429,"uuid":55,"anchor":55,"target":55,"linktype":31},{"text":1281,"type":382}," and open the coupon under ",{"text":822,"type":382,"marks":1283},[1284],{"type":443},{"text":431,"type":382},{"type":417,"content":1287},[1288],{"type":377,"attrs":1289,"content":1290},{"textAlign":55},[1291,1293,1297,1299,1303],{"text":1292,"type":382},"Use ",{"text":1294,"type":382,"marks":1295},"Generate codes",[1296],{"type":443},{"text":1298,"type":382}," to create a batch (up to 100 at a time), or ",{"text":1300,"type":382,"marks":1301},"Import codes",[1302],{"type":443},{"text":1304,"type":382}," to bring in your own list.",{"type":417,"content":1306},[1307],{"type":377,"attrs":1308,"content":1309},{"textAlign":55},[1310,1312,1316,1318,1322,1324,1328],{"text":1311,"type":382},"To make each code single use, set ",{"text":1313,"type":382,"marks":1314},"Uses per code",[1315],{"type":443},{"text":1317,"type":382}," to ",{"text":1319,"type":382,"marks":1320},"1",[1321],{"type":387},{"text":1323,"type":382}," (see ",{"text":1214,"type":382,"marks":1325},[1326],{"type":399,"attrs":1327},{"href":1218,"uuid":55,"anchor":55,"target":55,"linktype":31},{"text":1329,"type":382},").",{"type":405,"attrs":1331,"content":1332},{"level":407,"textAlign":55},[1333],{"text":528,"type":382},{"type":530,"content":1335},[1336,1343,1350],{"type":417,"content":1337},[1338],{"type":377,"attrs":1339,"content":1340},{"textAlign":55},[1341],{"text":1342,"type":382},"All generated or imported codes share the coupon's discount rules and restrictions.",{"type":417,"content":1344},[1345],{"type":377,"attrs":1346,"content":1347},{"textAlign":55},[1348],{"text":1349,"type":382},"Codes can only be added after the coupon is first saved.",{"type":417,"content":1351},[1352],{"type":377,"attrs":1353,"content":1354},{"textAlign":55},[1355],{"text":1356,"type":382},"Pair with usage limits to control redemptions per code.",{"id":55,"alt":55,"name":13,"focus":55,"title":55,"source":55,"filename":13,"copyright":55,"fieldtype":77,"meta_data":1358},{},"How to generate or import many unique coupon codes that share the same discount, for mail merges and single-use campaigns.",[],"generate-multiple-coupon-codes-at-once","help\u002Farticles\u002Fgenerate-multiple-coupon-codes-at-once",-3290,[],"91dc82e9-eecd-4d3e-8159-2dc876384f7d",[],{"name":1368,"created_at":1369,"published_at":1370,"updated_at":1371,"id":1372,"uuid":42,"content":1373,"slug":43,"full_slug":43,"sort_by_date":55,"position":1550,"tag_list":1551,"is_startpage":24,"parent_id":55,"meta_data":55,"group_id":1552,"first_published_at":1553,"release_id":55,"lang":61,"path":55,"alternates":1554,"default_full_slug":55,"translated_slugs":55},"Contact","2022-09-23T19:56:58.957Z","2025-05-08T18:24:40.382Z","2025-05-08T18:24:40.392Z",3138,{"seo":1374,"_uid":1377,"title":1378,"action":1379,"fields":1380,"method":1526,"columns":1527,"subtitle":1541,"component":43,"button_text":1547,"submit_title":1548,"submit_subtitle":1549},{"_uid":1375,"title":1368,"plugin":1376,"description":13},"24ff7574-3bcc-48d2-85b5-e529dfea1cc4","meta-fields","8f54f1da-9d8f-49b2-89e7-840e886491cb","We're here to help.","https:\u002F\u002Fusebasin.com\u002Ff\u002F029f48d65402",[1381,1385,1389,1497,1500,1505,1520],{"_uid":1382,"name":1383,"type":382,"label":841,"options":13,"required":33,"component":1384,"placeholder":13},"9a70b226-2036-4f90-a052-b3efa61c5896","name","form___field",{"_uid":1386,"name":1387,"type":1387,"label":1388,"options":13,"required":33,"component":1384,"placeholder":13},"86ba35be-ff43-4a28-8633-14052a8f6622","email","Email Address",{"_uid":1390,"name":1391,"type":1392,"label":1393,"options":1394,"required":33,"component":1384,"conditions":1395,"placeholder":13},"3f827475-492c-4f97-aa1e-2386ac263b6c","topic","select","Topic","Presales, Support, Billing, Partnerships, Order Enquiry, Other",[1396,1451,1461,1468,1476,1484,1490],{"_uid":1397,"equals":1398,"fields":1399,"component":1450},"e21d97dd-e68e-4fa6-ba97-bc40f3041dde","Order Enquiry",[1400],{"_uid":1401,"body":1402,"type":1448,"title":13,"component":1449},"b64992bc-6d53-48b8-b7a0-d81e5a062e50",{"type":374,"content":1403},[1404],{"type":377,"content":1405},[1406,1408,1415,1417,1419,1420,1424,1426,1431,1439,1441,1446],{"text":1407,"type":382},"We are ",{"text":1409,"type":382,"marks":1410},"Foxy.io",[1411],{"type":399,"attrs":1412},{"href":1413,"uuid":55,"anchor":55,"custom":1414,"target":55,"linktype":31},"http:\u002F\u002FFoxy.io",{},{"text":1416,"type":382},", an ecommerce platform powering ecommerce for other merchants. We do not sell products, and are unable to assist with questions about order statuses or refunds for any merchants using our platform. Please contact the merchant you ordered from for assistance. If you’d like to report a store using Foxy for fraudulent practices, please select ‘other’ in the subject.",{"type":1418},"hard_break",{"type":1418},{"text":1421,"type":382,"marks":1422},"NOTE:",[1423],{"type":443},{"text":1425,"type":382}," We are ",{"text":1427,"type":382,"marks":1428},"not ",[1429],{"type":1430},"italic",{"text":1432,"type":382,"marks":1433},"Foxy.in",[1434,1438],{"type":399,"attrs":1435},{"href":1436,"uuid":55,"anchor":55,"custom":1437,"target":55,"linktype":31},"http:\u002F\u002FFoxy.in",{},{"type":1430},{"text":1440,"type":382},". We are not in any way affiliated with ",{"text":1432,"type":382,"marks":1442},[1443],{"type":399,"attrs":1444},{"href":1436,"uuid":55,"anchor":55,"custom":1445,"target":55,"linktype":31},{},{"text":1447,"type":382},", and cannot help in any way with your order from that website.","danger","global___alert","form___condition",{"_uid":1452,"equals":1453,"fields":1454,"component":1450},"8765c3e1-25cf-44aa-b8ea-fc6094acf9c3","Presales",[1455],{"_uid":1456,"name":1457,"type":1458,"label":13,"options":13,"required":24,"component":1384,"conditions":1459,"placeholder":13,"default_value":1460},"cf464f8e-d643-4f6e-af29-d3abffaf7380","department_email_address","hidden",[],"hello@foxy.io",{"_uid":1462,"equals":204,"fields":1463,"component":1450},"4007b6d8-77e5-421d-bd1e-6f336dd853fb",[1464],{"_uid":1465,"name":1457,"type":1458,"label":13,"options":13,"required":24,"component":1384,"conditions":1466,"placeholder":13,"default_value":1467},"7b4c6aa5-a68c-45e0-9ce1-0a36af10c0c2",[],"help@foxy.io",{"_uid":1469,"equals":1470,"fields":1471,"component":1450},"1dbb8f11-613d-43cd-9e09-1b94f6e19219","Billing",[1472],{"_uid":1473,"name":1457,"type":1458,"label":13,"options":13,"required":24,"component":1384,"conditions":1474,"placeholder":13,"default_value":1475},"a0ac0d1b-bc4f-4a6c-a682-581d450b0b73",[],"help+billing@foxy.io",{"_uid":1477,"equals":1478,"fields":1479,"component":1450},"a0a53a50-7172-4a29-ba58-181e38874e12","Partnerships",[1480],{"_uid":1481,"name":1457,"type":1458,"label":13,"options":13,"required":24,"component":1384,"conditions":1482,"placeholder":13,"default_value":1483},"7aa011d9-f374-4aed-b5a5-929b54aaf152",[],"partners@foxy.io",{"_uid":1485,"equals":1398,"fields":1486,"component":1450},"a4cd431f-25d5-41c7-bfdc-02c908c8fb47",[1487],{"_uid":1488,"name":1457,"type":1458,"label":13,"options":13,"required":24,"component":1384,"conditions":1489,"placeholder":13,"default_value":1460},"f5d52168-d6ae-451b-94ee-2ced1cbd28ad",[],{"_uid":1491,"equals":1492,"fields":1493,"component":1450},"25aba1ed-eb41-4bbc-aa89-f7a7167ea86e","Other",[1494],{"_uid":1495,"name":1457,"type":1458,"label":13,"options":13,"required":24,"component":1384,"conditions":1496,"placeholder":13,"default_value":1460},"f40dfaef-c203-4b71-bf4e-e1b43cef192b",[],{"_uid":1498,"component":1499},"e9c53a05-f40a-4510-aaf8-bc072a235a0c","form___subject",{"_uid":1501,"name":1502,"type":1503,"label":1504,"options":13,"required":33,"component":1384,"placeholder":13},"a4c4d385-fff4-4978-99fb-b68cfea623d6","message","textarea","Message",{"_uid":1506,"name":1507,"type":1392,"label":1508,"options":1509,"required":33,"component":1384,"conditions":1510,"placeholder":13},"8a3c9f85-f438-427d-9c7a-d7b295a14b5b","existing_user","Are you an existing user?","No, Yes",[1511],{"_uid":1512,"equals":1513,"fields":1514,"component":1450},"115933d6-262a-4b59-8fa8-579c5ad73de1","Yes",[1515],{"_uid":1516,"name":1517,"type":382,"label":1518,"options":13,"required":33,"component":1384,"conditions":1519,"placeholder":13},"44b6ff23-98f0-4e95-b7f5-c23e06415c2d","subdomain","Store Subdomain",[],{"_uid":1521,"name":1522,"type":1392,"label":1523,"options":1524,"required":33,"component":1384,"conditions":1525,"placeholder":13},"922a5cef-3af2-4113-8855-36c7910e3ee3","user_type","What type of user are you?","Developer, Designer, Merchant",[],"POST",[1528],{"_uid":1529,"text":1530,"title":1539,"component":1540},"7323b90d-a93a-4bf1-baa9-20d0b7ead61b",{"type":374,"content":1531},[1532],{"type":377,"content":1533},[1534,1536,1537],{"text":1535,"type":382},"855.369.9227",{"type":1418},{"text":1538,"type":382},"9:30am-6pm Central M-F","Pre-sales, Sales, & Partnerships","contact___footer_column",{"type":374,"content":1542},[1543],{"type":377,"content":1544},[1545],{"text":1546,"type":382},"Get in touch to get help from our friendly support team.","Submit","Success!","Your email has been received. We'll get back to you as soon as we can, but it might take a business day. If you don't hear back from us in a timely manner, please check your spam folder to ensure our reply didn't go there.",-80,[],"2fd9fb7d-a48a-4184-acfd-30022d8d6f08","2022-09-23T20:10:45.360Z",[],{},1785861255030]