New answers tagged checkout
0
votes
Unable to retrieve the qty updated product value in the cart using Observer
Try using events
checkout_cart_update_item_complete
processItemQty$observer->getItem())
For updates from the mini cart, you may also need
checkout_cart_update_items_after
$observer->getCart(...
0
votes
change jsLayout html template
Short answer is no way
JS Layout in Magento is component based structure where you need to operate with component JS and HTML template file (knockout) for rendering.
I think you may find useful ...
0
votes
Magento checkout payment page add custom field
I think the following article can help you to understand general logic how to
How to Add Custom Field in Checkout Page Below Payment Method List in Magento 2
0
votes
How to edit for existing shipping addresses in checkout page magento2?
Please Upgrade to Magento version 2.4.4. They Have Solved that issue.
=> could u please let me know how can i edit an exist address on checkout page with M2.4.4?
0
votes
Include shipping on quote item not quote
You need to create mixin in any applicable place and reload summary block
You can add mixin to Magento_Checkout/js/model/shipping-save-processor
You can update summary with following logic
define([
...
0
votes
Magento 2 Checkout that would better fit the order flow for a flower shop?
I helped one of my friend and my client. It is not 100% solution but we achieved big improve. Check it out.
Https://cranfordflorist.com
I customized this website from scratch. Send me a message if you ...
1
vote
Magento 2: How to make PO number optional using custom module?
You can use requirejs-config.js for overwrite or extend native logic
Overwrite:
let config = {
map: {
"*": {
"Magento_OfflinePayments/payment/purchaseorder-form....
0
votes
How to Add Cart Price Rule Condition in Coupon Code Programmatically in Magento 2.4.0?
You can select Customer Group - ( General or any other), if you are providing any customer group to them. General is given by default to Registered Customers. You can assign any group to your customer ...
0
votes
Send Custom Data to quote table
In the js file you need to send data via ajax
function transfer() {
const Http = new XMLHttpRequest();
const str = 'day='+ document.getElementById('dayData').value + '&...
0
votes
Reset billing address to default address
The easiest solution seems to be to get and set the values individually:
// Load customers default address data
$customer = $this->customerFactory->create()->load($order->getCustomerId()); ...
0
votes
Magento 2 - checkout_submit_all_after event is not working
Can you please try below code.
please create events.xml in etc folder.
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:...
1
vote
Accepted
Send Custom Data to quote table
You have to do the following things:
You have to add data to the additional data to the payment data. Create a function as following:
getData: function () {
return {
'method': '...
2
votes
Accepted
How to get Data from system.xml file
You should pass system.xml data to customer by CompositeConfigProvider.
define CompositeConfigProvider in your di.xml file
app/code/{{Vendorname}}/{Modulename}/etc/frontend/di.xml
<?xml version=&...
Top 50 recent answers are included
Related Tags
checkout × 3568magento2 × 1720
magento-1.9 × 449
onepage-checkout × 375
cart × 358
magento-2.1 × 188
knockoutjs × 177
payment-methods × 171
shipping × 164
shipping-methods × 146
shipping-address × 142
javascript × 119
payment × 118
magento2.3 × 113
orders × 112
magento-1.7 × 107
billing-address × 104
event-observer × 93
php × 87
customer × 82
magento2.2 × 76
quote × 75
onestepcheckout × 75
layout × 74
paypal × 74