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-...
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....
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 ...
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....
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="...
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/...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
onepage-checkout × 1218checkout × 375
magento2 × 324
magento-1.9 × 309
magento-1.7 × 89
payment-methods × 67
shipping-address × 61
shipping-methods × 56
cart × 52
magento-2.1 × 47
onestepcheckout × 46
javascript × 43
billing-address × 43
magento-1.8 × 39
orders × 37
shipping × 36
knockoutjs × 34
magento2.2 × 33
magento2.3 × 32
event-observer × 29
payment × 27
php × 23
error × 22
magento-1 × 22
paypal × 22