New answers tagged

0

Copy file from vendor directory vendor/magento/module-checkout/view/frontend/web/js/view/payment/default.js to your custom created theme app/design/frontend/[vendor]/[theme]/Magento_Checkout/web/js/view/payment/default.js Now, search for find placeOrder: function (data, event) and edit this function as given below if(confirm("Are you sure to place ...


1

It seems to me that the problem is that in the shipping method that you use, the Title field is not filled, if it is empty, such a result will appear. If you use Shipping Table Rates by Amasty 1.6.4 there is such a field, fill it in and the result will change.


0

If it's not manage from backend so you can remove from file. Simply $_shouldRender define false in vendor/magento/module-paypal/Block/Bml/Shortcut.php at line no. 25. protected $_shouldRender = false; Thanks :)


0

Working code: Create a mixin for the default payment method view: app/code/MageWorx/Checkout/view/frontend/requirejs-config.js var config = { config: { mixins: { 'Magento_OfflinePayments/js/view/payment/method-renderer/purchaseorder-method': { 'MageWorx_Checkout/js/view/payment/method-renderer/purchaseorder-method-...


0

Here I found my answer by Overriding below file app/design/frontend/Vendor/theme-web/Magento_Checkout/web/template/cart/totals/shipping.html <th class="mark" colspan="1" scope="row" data-bind="text: title + ' (' + getShippingMethodTitle() + ')'"></th> Replace this With <th class="mark" colspan="1" scope="row">SHIPPING COST</th&...


0

If you are able to save that custom field data to sales_order table 'sat customer_note column then you can save also at sales_order_grid. First, you have to create the column customer_note to sales_order_grid using declarative schema if using 2.3 or create a new column using install InstallSchema or upgrade scheme. using Plugin on Magento\Sales\Model\...


0

To solve this I checked the Knockout flow and found a problem with one of the conditions we have in the Order Summary section. The file that I override with our theme is Magento_Checkout/web/js/view/summary/abstract-total.js The function that was creating a problem for us was isFullMode(). This function was returning false that's why the summary is not ...


0

What was your solution to this?


0

It is possible to display the real error by editing the model files based on the error ajax call Edit the function savePaymentInformationAndPlaceOrder in vendor/magento/module-checkout/Model/PaymentInformationManagement.php or for Guest orders in vendor/magento/module-checkout/Model/GuestPaymentInformationManagement.php Change the function from: ...


0

It is possible to display the real error by editing the model files based on the error ajax call Edit the function savePaymentInformationAndPlaceOrder in vendor/magento/module-checkout/Model/PaymentInformationManagement.php or for Guest orders in vendor/magento/module-checkout/Model/GuestPaymentInformationManagement.php Change the function from: ...


1

You can use a simple plugin: app/code/MageWorx/DisableFreeShipping/etc/di.xml <?xml version="1.0"?> <!-- /** * Copyright © 2018 MageWorx. All rights reserved. * See LICENSE.txt for license details. */ --> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/...


1

According to your question you need to hide free shipping method if 2nd value of postcode is 0, you can achieve it using below. app/code/VENDOR/MODULE/etc/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <...


0

I found that the best way to change the input type is to add a different template to the LayoutProcessor and change the input type in there. protected function updateElementTmpls(&$jsLayoutResult) { $shippingAddress = &$jsLayoutResult['components']['checkout']['children']['steps']['children']['shipping-step']['children']['shippingAddress']['...


0

You can try this module app/code/Sanne/Js/etc/module.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module name="Sanne_Js" setup_version="1.0.0"> <sequence> <module name="Magento_Checkout" /></sequence> </...


0

You need to install below module and create CMS block with identifier gift_message Please download module from Here Hope this will help you!


0

You can increasing the following PHP settings (php.ini) for doing imports: Error cause: post_max_size = 128M as suggested in some articles about import... After setting them back to default (64M) Solution: post_max_size = 64M and ,naturally, deleting all the cache folders under /var/cache/, everything went back to normal.


0

My solution: set value to 8, currently it is taking 16 col width, defined in luma theme. so make it 8 in your web/css/source/_theme.less @checkout-wrapper__columns: 8


0

@hi Saif Ali i found my solution to change the input type text to number through custom module using below code : ...


3

no need to deploy code after this just need to clear cache. checkout_index_index.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="checkout" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="checkout....


0

override magento/module-ui/view/frontend/web/templates/form/element/select.html into your theme in VENDOR/THEME_NAME//Magento_Ui/templates/form/element/select.html <select class="select your_class" data-bind=" attr: { name: inputName, id: uid, disabled: disabled, 'aria-describedby': getDescriptionId(), 'aria-...


0

Thanks for the answer i am also finding a better solution for this i try to add from xml but i will not add a aditional class through xml can any one let me know that why we can not add the classes ussing checkout_index_index.xml file ?


0

Override shipping.html in your theme. <!-- ko if: quoteIsVirtual == 0 --> <tr class="totals shipping excl"> <th class="mark" scope="row"> <span class="label" data-bind="i18n: title"></span> <!-- <span class="value" data-bind="text: getShippingMethodTitle()"></span> --> ...


3

Create di.xml in Vendor/Module/etc folder, <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <type name="Magento\Quote\Api\ShipmentEstimationInterface"> <plugin name="specific_shipping_method" type="Vendor\...


0

change price/amount decimal (24,4) in catalog_product_entity_decimal, catalog_product_index_price, catalog_product_index_price_tmp, catalog_product_index_price_final_tmp, change the MAXIMUM_AVAILABLE_NUMBER in /quote/model/QuoteValidator.php to 999999999999999, And then Change decimal value (24,4) in all price/amount quote table and all price/amount ...


0

Please find below the solution <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="checkout.root"> <arguments> <argument name="jsLayout" xsi:type="...


0

I managed to add errorPlacement code in the JS file where validation function is called. Before validate: function() { return $(form).validation() && $(form).validation('isValid'); }, After validate: function() { return $(form).validation({errorPlacement: function(error, element) { error.appendTo('.input-error'); }})...


0

Make sure your theme contains the updated files which have form_key defined


1

Check this file in your custom template it might be the problem: app/design/frontend/YourCompany/yourtemplate/Magento_Checkout/web/template/registration.html You may need to compare and replace the contents with that in the magento distribution: vendor/magento/module-checkout/view/frontend/web/template/registration.html for example; <div> <!-- ...


Top 50 recent answers are included