Skip to content

checkout

Auto Added by WPeMatico

Hide button if error message is active

I have a site built with Magento 2.3. In checkout cart, I want to hide the button that proceed to checkout if the quantity of a product pass the maximum quantity. How can I do this? Thank you!

Validation Name is not working

Actually, I add validation of alpha-num there it shows the Magento default validation message there. I want to add my custom message there. Validation is working app/design/frontend/Theme/CustomTheme/Magento_Customer/templates/widget/name.phtml Here is my code <div class=”field field-name-firstname required”> <label class=”label” for=”<?= $block->escapeHtmlAttr($block->getFieldId(‘firstname’)) ?>”><span><?=… Read More »Validation Name is not working

Billing address list in checkout as radio button instead of select – Magento 2.4

By default /Checkout/view/frontend/web/template/billing-address/list.html is loaded as a html select element, but we want to change it into a radio button option. How can we achieve that? We tried the following for billing-address/list.html, but that does not work: <div class=”field field-select-billing”>… Read More »Billing address list in checkout as radio button instead of select – Magento 2.4

Delivery Methods in checkout page

I am able to configure the shipping methods rates in the Magento UI logged in admin user. The same shipping details appear in the customer checkout page when creating the new order. The below links details. https://docs.magento.com/user-guide/shipping/methods-basic.html https://docs.magento.com/user-guide/shipping/shipping-flat-rate.html I want… Read More »Delivery Methods in checkout page