{"id":6960,"date":"2020-02-05T17:26:47","date_gmt":"2020-02-05T23:26:47","guid":{"rendered":"https:\/\/launchflows.com\/?post_type=documentation&p=6960"},"modified":"2023-01-31T22:04:08","modified_gmt":"2023-02-01T04:04:08","slug":"emptycart","status":"publish","type":"documentation","link":"https:\/\/launchflows.com\/documentation\/emptycart\/","title":{"rendered":"Empty The Checkout Cart\u200b"},"content":{"rendered":"

There are four ways to empty a product or a whole cart within a LaunchFlows checkout.<\/p>\n

Remove Product Link<\/h3>\n

This remove product link is added by the LaunchFlows Order Review component, whether by way of the Widget or Shortcode.<\/p>\n

\"\"<\/p>\n

If you are using the Widget, you have the option to hide the Product Remove Links.<\/p>\n

\"\"<\/p>\n

URL String<\/h3>\n

To empty all products in the cart, add this string to the end of any LaunchFlows Checkout Page url<\/strong>.<\/p>\n

?emptycart=yes   (or use & if following another parameter) ?add-to-cart=1234&emptycart=yes<\/code><\/pre>\n

Example<\/h4>\n
https:\/\/yourdomain.com\/custom-checkout\/?emptycart=yes<\/code><\/pre>\n

Widget<\/h3>\n

You may use the LaunchFlows Emptycart Widget within Elementor. Simply drag into your layout and style with the widget controls<\/p>\n

\"\"
\n\"\"<\/p>\n

Shortcode<\/h3>\n

You may use the LaunchFlows Emptycart Shortcode within the WordPress Editor (Classic or Gutenberg).<\/p>\n

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

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

\"\"<\/p>\n

Video<\/h3>\n