====== Add an "Empty Cart" Button to Cart and Checkout ====== ===== Step 1: Apply the snippet to your configuration ===== You can apply the snippet below within the "configuration" section of your store's FoxyCart administration - look for the "Add custom header and footer code to your templates" option, enable it (if not already) and include the snippet in the "custom footer". {% if cart_is_fullpage or context == "checkout" %} {% elseif context == "cart" %} {% endif %} ===== Step 2: Customise conditions ===== You may modify this code to only show the button on the checkout or cart as desired. Please [[https://www.foxy.io/contact|contact us]] if you need assistance in doing so.