{"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
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. Use On Any LaunchFlows Checkout Page<\/em><\/p>\n\n\n\n Account Fields<\/strong><\/p>\n\n\n\n Additional Fields<\/strong><\/p>\n\n\n\n Always In Checkout<\/strong> (*only product is required<\/em>)<\/p>\n\n\n\n Billing Fields<\/strong><\/p>\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 Autoclick Checkout<\/strong><\/p>\n\n\n\n Bump or Variable Product Display<\/strong> Donation & Pay Now<\/strong><\/p>\n\n\n\n Checkout Button (Hide) Display<\/a> First Product (in cart) Display<\/strong><\/p>\n\n\n\n Empty Cart Button Display<\/strong><\/p>\n\n\n\n Empty Cart Via URL (add to end of LF-Direct Checkout link)<\/em><\/strong><\/p>\n\n\n\n Hide Order Comments<\/strong><\/p>\n\n\n\n Login Display For WooCommerce<\/strong><\/p>\n\n\n\n Notices Display For WooCommerce Payment Fields<\/strong><\/p>\n\n\n\n Redirect<\/strong><\/p>\n\n\n\n Registration Form<\/strong><\/p>\n\n\n\n Remove Product From Cart<\/strong><\/p>\n\n\n\n Remove Tags With WPFusion<\/strong> (*separate tags with comma<\/em>)<\/p>\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<\/code><\/p>\n\n\n\n
Checkout Shortcodes<\/strong><\/h3>\n\n\n\n
[lf-account]<\/code><\/pre>\n\n\n\n
[lf-additional]<\/code><\/pre>\n\n\n\n
[lf-always-in product=\"1234\" icon=\"yes\" title=\"yes\" price=\"yes\" shortdesc=\"yes\"]<\/code><\/pre>\n\n\n\n
[lf-billing]<\/code><\/pre>\n\n\n\n
[lf-apply-tags tags=\"123,567\" debug=\"yes\"]<\/code><\/pre>\n\n\n\n
[lf-autoclick]<\/code><\/pre>\n\n\n\n
(*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
[lf-donate product=\"1234\" field=\"Donate Big!\" button=\"Do It Now!!\"]<\/code><\/pre>\n\n\n\n
*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
[lf-first-product-display]<\/code><\/pre>\n\n\n\n
[lf-emptycart]<\/code><\/pre>\n\n\n\n
&clearcart<\/code><\/pre>\n\n\n\n
[lf-hide-order-comments]<\/code><\/pre>\n\n\n\n
[lf-login]<\/code><\/pre>\n\n\n\n
<\/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
[lf-payment]<\/code><\/pre>\n\n\n\n
[lf-redirect url=https:\/\/xyz.com sec=0]<\/code><\/pre>\n\n\n\n
[lf-registration]<\/code><\/pre>\n\n\n\n
[lf-remove-product id=\"1234\"]<\/code><\/pre>\n\n\n\n
[lf-remove-tags tags=\"123,567\" debug=\"false\"]<\/code><\/pre>\n\n\n\n
[lf-review remove=\"yes\" image=\"yes\" height=\"40px\" width=\"40px\" name=\"yes\" quantity=\"yes\"]<\/code><\/pre>\n\n\n\n