4 votes

How to add CSS that works only in Checkout page Mangento 2.4.2

Create "checkout_index_index.xml" file in module Vendor_Module/view/frontend/layout/checkout_index_index.xml add below code in it. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
user avatar
4 votes
Accepted

How to add CSS that works only in Checkout page Mangento 2.4.2

If CSS is merged then, that merged css will call in all page. Otherwise, you can add css in checkout_index_index.xml file : <head> <css src="Magento_Checkout::css/customcheckout....
user avatar
  • 16.5k
3 votes
Accepted

Add additional info based on country selection condition in one page checkout country field

After few debugging. I achieved this via Layout processor plugin but it can also be done via checkout_index_index.xml layout. I choose layout processor plugin as it loads after XML which will make ...
user avatar
2 votes
Accepted

How to create custom checkbox field for term and conditions in one page checkout page magento2

Create New column 'agree' in 'quote' and 'sales_order' table at DB. and Vendor\Module\etc\extension_attributes.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3....
user avatar
1 vote
Accepted

Magento 2: How to add validation for existing address before Order Place

You can do this via obsever, here is how. on your etc\events.xml <event name="checkout_submit_before"> <observer name="checkout_submit_before" instance="...
user avatar
  • 1,107
1 vote

Dynamically hide component upon selecting a country in checkout

Vendor_Module/view/frontend/requirejs-config.js var config = { 'config': { 'mixins': { 'Magento_Checkout/js/action/set-shipping-information': { 'Vendor_Module/...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible