{"id":7188,"date":"2020-02-06T21:19:18","date_gmt":"2020-02-07T03:19:18","guid":{"rendered":"https:\/\/launchflows.com\/?post_type=documentation&p=7188"},"modified":"2023-01-31T19:39:42","modified_gmt":"2023-02-01T01:39:42","slug":"how-to-create-checkout-links-for-variable-products","status":"publish","type":"documentation","link":"https:\/\/launchflows.com\/documentation\/how-to-create-checkout-links-for-variable-products\/","title":{"rendered":"Variable Product Links"},"content":{"rendered":"

Description<\/h3>\n

With variable products, the syntax to send any particular variation directly to your custom checkout requires you to change the id from the main product to the variation id instead.<\/p>\n

Use Case<\/h3>\n

You need to change the id of the main variation product to instead use the id of the variation<\/strong> you want to send to the checkout<\/p>\n

You can also create an Instant Simple Product Bundle by using multiple variation id’s separated by a comma. See More Info Here<\/a>.<\/p>\n

Example<\/h3>\n

\/your-custom-checkout-page\/?add-to-cart=xxxx\u00a0 \u00a0where “xxxx” equals the <\/em>id of the variation<\/strong><\/p>\n

You may optionally specify an initial quantity as well by adding this to the end of the string.<\/p>\n

\/your-custom-checkout-page\/?add-to-cart=xxxxx&quantity=2<\/strong><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"

Description With variable products, the syntax to send any particular variation directly to your custom checkout requires you to change the id from the main product to the variation id instead. Use Case You need to change the id of the main variation product to instead use the id of the variation you want to…<\/p>\n","protected":false},"featured_media":0,"menu_order":36,"template":"","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"default","_kad_post_title":"default","_kad_post_layout":"default","_kad_post_sidebar_id":"","_kad_post_content_style":"default","_kad_post_vertical_padding":"default","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"documentation_tags":[101,100,99,98],"acf":[],"featured_image_src_large":false,"author_info":[],"comment_info":"","taxonomy_info":{"documentation_categories":[{"value":251,"label":"Products & Coupons"}],"documentation_tags":[{"value":101,"label":"Custom Links"},{"value":100,"label":"Quantity"},{"value":99,"label":"Subscriptions"},{"value":98,"label":"Variable Subscriptions"}]},"_links":{"self":[{"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/documentation\/7188"}],"collection":[{"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/types\/documentation"}],"version-history":[{"count":3,"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/documentation\/7188\/revisions"}],"predecessor-version":[{"id":28381,"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/documentation\/7188\/revisions\/28381"}],"wp:attachment":[{"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/media?parent=7188"}],"wp:term":[{"taxonomy":"documentation_tags","embeddable":true,"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/documentation_tags?post=7188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}