Skip to content

Romchik38/CheckoutCityDelivery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CheckoutCityDelivery module

CheckoutCityDelivery - is a Magento 2 module, that provides a shipping method. The module add city delivery to checkout page.

Dependencies

  • Magent 2.4.6
  • Magento_Checkout

Functionality

  • it's a shipping method
  • activates when city field is filled
  • free shipping available
  • Display Summary and Shipping boxes on checkout_cart_index

Вehavior modification

  • checkout_index_index.xml
    1. city field fillment trigger a request
  • checkout_cart_index.xml
    1. hide two blocks: summury and shipping

TODO

  1. hide checkout_cart_index boxes
    [+] create admin functionality ( system.xml )
    [+] edit checkout_cart_index

  2. add city field to checkout_cart_index

Display Summuary and Shipping boxes on 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.

img_hide
img_display

About

Magento 2 module, that provides a shipping method. The module add city delivery to checkout page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published