Is there a way to change the garbage can symbol or add text next to it. We've had quite a few people who couldn't figure out how to remove an item from their cart.
Open source 2.2
Solved! Go to Solution.
You need to override core file, vendor/magento/module-checkout/view/frontend/templates/cart/item/renderer/actions/remove.phtml
to your theme folder,
app/design/frontend/{Packagename}/{themename}/Magento_Checkout/templates/cart/item/renderer/actions/remove.phtml
Keep below content,
<a href="#" title="<?= $block->escapeHtml(__('Remove item')) ?>" class="action action-delete" data-post='<?= /* @escapeNotVerified */ $block->getDeletePostJson() ?>'> <?= /* @escapeNotVerified */ __('Remove item') ?> </a>
You need to override core file, vendor/magento/module-checkout/view/frontend/templates/cart/item/renderer/actions/remove.phtml
to your theme folder,
app/design/frontend/{Packagename}/{themename}/Magento_Checkout/templates/cart/item/renderer/actions/remove.phtml
Keep below content,
<a href="#" title="<?= $block->escapeHtml(__('Remove item')) ?>" class="action action-delete" data-post='<?= /* @escapeNotVerified */ $block->getDeletePostJson() ?>'> <?= /* @escapeNotVerified */ __('Remove item') ?> </a>