CheckoutCityDelivery - is a Magento 2 module, that provides a shipping method. The module add city delivery to checkout page.
- Magent 2.4.6
- Magento_Checkout
- it's a shipping method
- activates when city field is filled
- free shipping available
- Display Summary and Shipping boxes on checkout_cart_index
- checkout_index_index.xml
- city field fillment trigger a request
- checkout_cart_index.xml
- hide two blocks: summury and shipping
-
hide checkout_cart_index boxes
[+] create admin functionality ( system.xml )
[+] edit checkout_cart_index -
add city field to checkout_cart_index
Admin field Display checkout/cart/ Summary and Shipping boxes
.
Description: Hide or display blocks checkout.cart.summary.title and checkout.cart.shipping on checkout/cart/ page.
The problem: the module modifies city field, which is present on checkout_index_index, but absent on checkout_cart_index. As the result module do not work correctly.