Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
General questions about Magento 2, not specific to a minor version. Use this tag to distinguish from Magento 1. If you have issues with a specific version, please use the appropriate 'Magento-2.x' tag instead. Functionalities between Magento 2 minor versions might differ.
0
votes
Magento2: Cross-sell not showing in cart, missing crosssell.phtml file
What are you trying to achieve?
FYI, the file which creates the cross sell section is module-catalog/view/frontend/templates/product/list/items.phtml
3
votes
1
answer
9k
views
Magento 2: Can't call parent function in JS / knockout file
I'm having trouble receiving the return value from a function in the parent file.
As you can see in Magento_Tax/js/view/checkout/summary/shipping.js, it's calling functions in the (grand)parent file …
1
vote
0
answers
168
views
Magento 2: Can't update redirect URL – strange behaviour
I have created a new page (step) on my checkout which I'd like my users to be able to login in via. All works well when the user enters valid information (they're logged in successfully), but if they …
2
votes
0
answers
823
views
Magento 2: Safari (only) TypeError for window object
Can anyone explain why I'm receiving this error on the Cart page on Safari:
TypeError: undefined is not an object (evaluating 'window.checkoutConfig.quoteData')
This happens intermittently and not e …
2
votes
0
answers
290
views
Magento 2: Pre-populate some name and address fields using KnockoutJS
I would like to update the content of the firstname and surname fields on the checkout. The UI input fields already have the value data-bind (see below) which I'd like to target in my js/view file and …
0
votes
2
answers
4k
views
Magento 2: Post Code isn't being validated as 'required' on Checkout
On my theme, the customer is allowed to proceed to the payment page of the checkout without having to add a Postcode, despite it being set as required. The other fields (Street, City) are required and …
2
votes
0
answers
2k
views
Magento 2: Debug REST error – 400 (Bad Request)
I can't process orders for some reason. The error I get in the console is:
POST
http://test-site.net/rest/default/V1/carts/mine/payment-information
400 (Bad Request)
and
POST
https://t …
0
votes
1
answer
2k
views
Magento 2: Change UI template
For the checkout, I would like to use a different UI template to that which is used on the cart. Currently, they both use the same UI template: <item name="template" xsi:type="string">ui/form/field</i …
5
votes
1
answer
3k
views
Magento 2: Trouble adding product to cart
Randomly, when I add something to cart from the product page, I am redirected to the cart page and told I have nothing in my cart. This doesn't happen consistently – if I refresh the cache (magento ca …
1
vote
1
answer
742
views
Magento 2: Form Validation Messages
I have created a new page on which I'd like my users to be able to login in via. All works well when the user enters valid information (they're logged in successfully), but if they enter the wrong ema …
1
vote
0
answers
538
views
Magento 2: Update Billing Address info fields
Sometimes, when the checkout loads, the Region input field is out of position and is placed before all of the other inputs (before firstname input field) in both the Shipping Step (Shipping address) a …
0
votes
How does the knockout-js part work
summary_count is set in module-checkout/CustomerData/Cart.php
The getCartParam() function is at the bottom of the module-checkout/view/frontend/web/js/view/minicart.js
0
votes
1
answer
1k
views
Magento 2: Update specific input field class via Knockout
I would like to update / add a class to a specific text input field via Knockout (as opposed to just using JQuery).
For example, I'd like to add another class to the input below.
And, more important …