{"id":26138,"date":"2022-03-06T13:31:13","date_gmt":"2022-03-06T19:31:13","guid":{"rendered":"https:\/\/launchflows.com\/?post_type=documentation&p=26138"},"modified":"2022-10-06T14:42:02","modified_gmt":"2022-10-06T19:42:02","slug":"remove-products-from-cart","status":"publish","type":"documentation","link":"https:\/\/launchflows.com\/documentation\/remove-products-from-cart\/","title":{"rendered":"Remove Products From Cart"},"content":{"rendered":"
This functionality allows you to remove any specific product from the cart at any step in your sales funnel.<\/p>\n
This makes it super easy to create a granular level of control over which product(s) a buyer will have available at the final checkout.<\/p>\n
Simply add the following shortcode into any page or post that a buyer will visit prior to the final checkout or on the checkout page itself (either will work).<\/p>\n
Remove Product From Cart<\/strong><\/p>\n Simply add the following url string, with the unique ID of the product you wish to remove, to any clickable element or redirection you are setting up.<\/p>\n When the buyer arrives at this url with the string at the end, the matching product will be removed from the cart automatically. (*swap 1234 for your product id)<\/em><\/p>\n <\/a><\/p>\n Simply drop the block or widget called “LaunchFlows Remove Product” into any page prior to or including checkout, and add the ID for the product you want automatically removed.<\/p>\n[lf-remove-product id=\"1234\"]<\/code><\/pre>\n
URL String Method<\/h3>\n
?remove-product=1234<\/code><\/pre>\n
Block Or Widget Method<\/h3>\n