After clear(removing all products) shopping cart shows nothing, but still show count of products value on minicart.
tried to create sections.xml and flush cart after click 'distribution/cart/clear' route:
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Customer:etc/sections.xsd">
<action name="distribution/cart/clear">
<section name="cart"/>
<section name="checkout-data"/>
</action>
</config>
but have fail.
here is link to flush cart on cart-info.phtml:
<li class="shopping-choise-item"><a id="clear-cart" href="<?php echo $block->getClearCartUrl() ?>"><?= 'Empty cart' ?></a></li>