{"id":11888,"date":"2020-12-05T16:01:29","date_gmt":"2020-12-05T22:01:29","guid":{"rendered":"https:\/\/launchflows.com\/?post_type=documentation&p=11888"},"modified":"2023-06-04T13:22:23","modified_gmt":"2023-06-04T18:22:23","slug":"shortcodes","status":"publish","type":"documentation","link":"https:\/\/launchflows.com\/documentation\/shortcodes\/","title":{"rendered":"Shortcodes"},"content":{"rendered":"\n

When To Use Shortcodes<\/h3>\n\n\n\n

The best way to use LaunchFlows is with the built-in Gutenberg Block Editor. This is true even if you are using another page builder or theme for your main design.<\/p>\n\n\n\n

In some cases, however, you may want\/need to use Shortcodes for your sales funnel components. Or you may want to embed other components inside of an Elementor tab or toggle widget.
<\/code><\/p>\n\n\n\n

Checkout Shortcodes<\/strong><\/h3>\n\n\n\n

Use On Any LaunchFlows Checkout Page<\/em><\/p>\n\n\n\n

Account Fields<\/strong><\/p>\n\n\n\n

[lf-account]<\/code><\/pre>\n\n\n\n

Additional Fields<\/strong><\/p>\n\n\n\n

[lf-additional]<\/code><\/pre>\n\n\n\n

Always In Checkout<\/strong> (*only product is required<\/em>)<\/p>\n\n\n\n

[lf-always-in product=\"1234\" icon=\"yes\" title=\"yes\" price=\"yes\" shortdesc=\"yes\"]<\/code><\/pre>\n\n\n\n

Billing Fields<\/strong><\/p>\n\n\n\n

[lf-billing]<\/code><\/pre>\n\n\n\n

Apply Tags With WPFusion<\/strong> (*separate tags with comma. Debug attr. shows message on front for admin.<\/em>)<\/p>\n\n\n\n

[lf-apply-tags tags=\"123,567\" debug=\"yes\"]<\/code><\/pre>\n\n\n\n

Autoclick Checkout<\/strong><\/p>\n\n\n\n

[lf-autoclick]<\/code><\/pre>\n\n\n\n

Bump or Variable Product Display<\/strong>
(*only product is required.<\/em>) Click here<\/a> to view optional styles.<\/p>\n\n\n\n

[lf-bump product=\"1234\" image=\"yes\" title=\"yes\" price=\"yes\" style=\"p-round\" shortdesc=\"yes\"]<\/code><\/pre>\n\n\n\n

Donation & Pay Now<\/strong><\/p>\n\n\n\n

[lf-donate product=\"1234\" field=\"Donate Big!\" button=\"Do It Now!!\"]<\/code><\/pre>\n\n\n\n

Checkout Button (Hide) Display<\/a>
*Note-Add a new button with ID of #lf-checkout-button to replace this function<\/strong><\/p>\n\n\n\n

[lf-checkout-button]<\/code><\/pre>\n\n\n\n

First Product (in cart) Display<\/strong><\/p>\n\n\n\n

[lf-first-product-display]<\/code><\/pre>\n\n\n\n

Empty Cart Button Display<\/strong><\/p>\n\n\n\n

[lf-emptycart]<\/code><\/pre>\n\n\n\n

Empty Cart Via URL (add to end of LF-Direct Checkout link)<\/em><\/strong><\/p>\n\n\n\n

&clearcart<\/code><\/pre>\n\n\n\n

Hide Order Comments<\/strong><\/p>\n\n\n\n

[lf-hide-order-comments]<\/code><\/pre>\n\n\n\n

Login Display For WooCommerce<\/strong><\/p>\n\n\n\n

[lf-login]<\/code><\/pre>\n\n\n\n

Notices Display For WooCommerce
<\/strong>(<\/em>*Be sure to position this in your layout where you would like page to scroll after any changes to the order review or in the event of errors<\/em>)<\/p>\n\n\n\n

[lf-notices]<\/code><\/pre>\n\n\n\n

Payment Fields<\/strong><\/p>\n\n\n\n

[lf-payment]<\/code><\/pre>\n\n\n\n

Redirect<\/strong><\/p>\n\n\n\n

[lf-redirect url=https:\/\/xyz.com sec=0]<\/code><\/pre>\n\n\n\n

Registration Form<\/strong><\/p>\n\n\n\n

[lf-registration]<\/code><\/pre>\n\n\n\n

Remove Product From Cart<\/strong><\/p>\n\n\n\n

[lf-remove-product id=\"1234\"]<\/code><\/pre>\n\n\n\n

Remove Tags With WPFusion<\/strong> (*separate tags with comma<\/em>)<\/p>\n\n\n\n

[lf-remove-tags tags=\"123,567\" debug=\"false\"]<\/code><\/pre>\n\n\n\n

Review Order Fields<\/strong> (*<\/em>all attributes are set to “yes” by default, so you can just add any you wish to change to “no”)<\/p>\n\n\n\n

[lf-review remove=\"yes\" image=\"yes\" height=\"40px\" width=\"40px\" name=\"yes\" quantity=\"yes\"]<\/code><\/pre>\n\n\n\n

Save Stripe Credit Card Automatically<\/strong><\/a><\/p>\n\n\n\n

[lf-save-stripe-cc]<\/code><\/pre>\n\n\n\n

Save Square Credit Card Automatically<\/strong><\/a><\/p>\n\n\n\n

[lf-save-square-cc]<\/code><\/pre>\n\n\n\n

Scroll To Checkout<\/strong><\/p>\n\n\n\n

[lf-scroll-to-checkout style=\"button\"]<\/code><\/pre>\n\n\n\n

Scripts For LaunchFlows <\/strong>
(*Use this on any page where you need LF style or scripts but it is disabled or not otherwise available)<\/em><\/p>\n\n\n\n

[lf-scripts]<\/code><\/pre>\n\n\n\n

Shipping Fields<\/strong><\/p>\n\n\n\n

[lf-shipping]<\/code><\/pre>\n\n\n\n

Thank You Fields<\/strong>
(*only lf-thank-you is required to output all fields.<\/em>)<\/p>\n\n\n\n

[lf-thank-you details=\"no\" imagesize=\"100\" image=\"no\" name=\"no\" quantity=\"no\" price=\"no\" desc=\"no\" shortdesc=\"no\" total=\"no\" dividers=\"no\"]<\/code><\/pre>\n\n\n\n

Coupon Fields<\/strong>
(*only lf-wccoupon is required to output closed coupon.<\/em>)<\/p>\n\n\n\n

[lf-wccoupon closed=\"no\"]<\/code><\/pre>\n\n\n\n

Upsell Product<\/strong>(*only product is required<\/em>)<\/p>\n\n\n\n

[lf-upsell product=\"1234\" next=\"5678\" accept=\"Yes, I Want It!\" accept_tags=\"123,456\" decline=\"No Thanks...\" image=\"yes\" title=\"yes\" price=\"yes\"]<\/code><\/pre>\n\n\n\n

Product Shortcodes<\/strong><\/h3>\n\n\n\n

Use Only On Single Product Sale Or Checkout Pages<\/em>
Product Direct To Checkout Link<\/strong><\/p>\n\n\n\n

[lf-product-link]<\/code><\/pre>\n\n\n\n

Product Breadcrumb<\/strong><\/p>\n\n\n\n

[lf-product-breadcrumb]<\/code><\/pre>\n\n\n\n

Product Add To Cart Button & Quantity<\/strong><\/p>\n\n\n\n

[lf-product-add-to-cart]<\/code><\/pre>\n\n\n\n

Product Description<\/strong><\/p>\n\n\n\n

[lf-product-description]<\/code><\/pre>\n\n\n\n

Product First Payment Date<\/strong><\/p>\n\n\n\n

[lf-product-firstpayment]<\/code><\/pre>\n\n\n\n

Product Images<\/strong><\/p>\n\n\n\n

[lf-product-images]<\/code><\/pre>\n\n\n\n

Product Meta (Category, Tags, etc.)<\/strong><\/p>\n\n\n\n

[lf-product-meta]<\/code><\/pre>\n\n\n\n

Product Price (Regular or Sale)<\/strong><\/p>\n\n\n\n

[lf-product-price]<\/code><\/pre>\n\n\n\n

Product Related Products<\/strong><\/p>\n\n\n\n

[lf-product-related]<\/code><\/pre>\n\n\n\n

Product Tabs (Reviews, Ratings, etc.)<\/strong><\/p>\n\n\n\n

[lf-product-tabs]<\/code><\/pre>\n\n\n\n

Product Name<\/strong><\/p>\n\n\n\n

[lf-product-name]<\/code><\/pre>\n\n\n\n

Product Breadcrumbs (Kadence Theme Only)<\/strong><\/p>\n\n\n\n

[lf-product-breadcrumbs]<\/code><\/pre>\n\n\n\n

Product Extras (Kadence Theme Only)<\/strong><\/p>\n\n\n\n

[lf-product-extras]<\/code><\/pre>\n\n\n\n

Product Payments Block (Kadence Theme Only)<\/strong><\/p>\n\n\n\n

[lf-product-payments]<\/code><\/pre>\n\n\n\n

Special Checkout Shortcodes<\/strong><\/h3>\n\n\n\n

Use Only For Pages With Dynamic Content Blocks<\/em>
LaunchFlows Checkout Form End<\/strong><\/p>\n\n\n\n

[lf-checkout-form-start]<\/code><\/pre>\n\n\n\n

LaunchFlows Checkout Form End<\/strong><\/p>\n\n\n\n

[lf-checkout-form-end]<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"

When To Use Shortcodes The best way to use LaunchFlows is with the built-in Gutenberg Block Editor. This is true even if you are using another page builder or theme for your main design. In some cases, however, you may want\/need to use Shortcodes for your sales funnel components. Or you may want to embed…<\/p>\n","protected":false},"featured_media":0,"menu_order":6,"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":[],"acf":[],"featured_image_src_large":false,"author_info":[],"comment_info":"","taxonomy_info":{"documentation_categories":[{"value":250,"label":"Getting Started"}]},"_links":{"self":[{"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/documentation\/11888"}],"collection":[{"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/types\/documentation"}],"version-history":[{"count":37,"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/documentation\/11888\/revisions"}],"predecessor-version":[{"id":28562,"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/documentation\/11888\/revisions\/28562"}],"wp:attachment":[{"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/media?parent=11888"}],"wp:term":[{"taxonomy":"documentation_tags","embeddable":true,"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/documentation_tags?post=11888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}