2
votes
How to add clear shopping cart button in Magento 2
There is system configuration for this you just need to enable from the admin panel.
Note : I am using magento2.4.6
1
vote
How to Remove cart products if a specific product is added in cart
Here is the working code that I have tested and verified.
<?php
use Magento\Framework\App\Bootstrap;
use Magento\Quote\Api\CartRepositoryInterface;
require __DIR__ . '/app/bootstrap.php';
$...
1
vote
Magento 2 remove "Estimate shipping costs and tax" from cart
Simply hiding it with CSS was all I needed, I used:
.cart-container .cart-summary #block-shipping .title,
.cart-container .cart-summary #block-shipping #shipping-zip-form{
display:none;
}
Hides the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
cart × 2231magento2 × 782
magento-1.9 × 432
checkout × 361
addtocart × 199
product × 164
shopping-cart × 148
quote × 142
magento-2.1 × 107
event-observer × 94
mini-cart × 86
shopping-cart-price-rules × 82
shipping × 81
magento-1.7 × 80
price × 77
custom-options × 68
ajax × 65
configurable-product × 64
magento-1.8 × 61
php × 55
magento2.3 × 54
onepage-checkout × 53
session × 52
rest-api × 51
tax × 49