All Questions
Tagged with magento2 knockout.js
102
questions
0
votes
0
answers
60
views
magento 2.4.6 knockout.js:3753 Uncaught TypeError: Unable to process binding "visible: function(){return isVisible() }"
in magento 2.4.6 getting bellow error. i can not found solution so if anyone can help me then it will be great.
knockout.js:3753 Uncaught TypeError: Unable to process binding "visible: function(){...
0
votes
0
answers
46
views
Force Magento 2's checkout accordion to be open on first step, closed on second step
This is my Magento_Checkout/web/template/summary/cart-items.html
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<div class="...
0
votes
0
answers
32
views
Magento 2: wrong shipping method saved in order
We have 2 delivery methods enabled on Magento 2.4.6: home delivery and a custom store pickup.
If the home delivery method is selected and correctly saved in the order, the customer's address is ...
1
vote
0
answers
31
views
How to add multiple method titles to KnockoutJS ifnot statement in Magento2
I am looking to add multiple shipping method titles to some knockout JS ifnot statement in Magento2. I currently have the following code which works for the method title listed.
<!-- ko ifnot: ...
0
votes
1
answer
275
views
Magento 2 Minicart / Knockout.js: Format calculated price / sum
In Magento 2 minicart (CE 2.4.6) I do not only want to show the price of each item in cart, but also the SUM of each item (if there is more than one unit of the same item in cart). I have therefore ...
0
votes
0
answers
225
views
Magento 2: How to open a modal for each related product using UI component?
I need to save product IDs(will be used ono the frontend later) into the extension attribute of the related product.
Idea is that modal with products listing should appear when I click the 'Select ...
0
votes
1
answer
149
views
How to redirect to wishlist controller for adding product in magento2
I have a problem that keeps me blocked, i need help about it!
By using knockoutJs and a controller in order to get a form_key i was trying to get redirected to the wishlist in order to add the product ...
0
votes
0
answers
41
views
totals.getSegment('giftcardaccount') returning null
NOTE: I posted this over on Magento2's StackExchange too.
I'm about at my whits end.
I still consider myself a relative novice with Magento, but this one literally has me baffled. I've also tossed it ...
0
votes
1
answer
536
views
Magento 2.3.4 minicart not working only on product detail page
I have added a minicart on the header of my custom theme. The issue is that the items added to the cart only show on the product detail page. On other pages, the minicart dropdown only shows the ...
0
votes
1
answer
433
views
In magento 2 Not show the value after ajax response in UI Component
i am trying to get shipping amount in seller wise in checkout summary i got the amount from ajax i render the data in html but it is not showing after ajax without ajax it is working
Magento_Checkout\...
0
votes
1
answer
419
views
What is the purpose of getTemplate() in knockout Js Magento 2?
I'm learning Knockout JS in Magento 2. There is a function getTemplate() which syntax looks like this . I want to know its working and purpose.
FilePath: app/code/CloudyDigitals/LearnKnockout/view/...
0
votes
0
answers
818
views
Failed to load the js file component in console[Magento 2]
I am trying to show current time with running seconds on a page under adminhtml. I wrote the code for js in Namespace_Module/view/adminhtml/web/js/timejs.js And the code is
define(
['jquery', '...
0
votes
1
answer
520
views
Magento 2 Order Edit return an error "The requested qty is not available"
By default behavior of Magento 2.4.2 , when admin tries to edit an order from backend an error message saying "The requested qty is not available" is visible if one of the ordered items has ...
1
vote
0
answers
962
views
Magento 2 ReCaptcha Module Intermittently Fails for New Account Creation
In our Magento 2 system, we've integrated the Magento_ReCaptchaFrontendUi module to handle reCAPTCHA during customer account creation. However, we are encountering an issue where some customers ...
1
vote
0
answers
1k
views
magento2 Changing shipping method does not update payment method java script code
I created a custom payment method in Magento2. My payment form will display many payment gateways. Each one has a different payment service charge and a different gateway currency. What I need is to ...