Questions tagged [jslayout]
The jslayout tag has no usage guidance.
13
questions
0
votes
1
answer
185
views
move shipping field to below shipping methods
I have a block that display in shipping-address-fieldset and i have try to move it using layout but i'm failing. i want it to be displayed below Shipping Methods. please help
Below is the layout file
&...
0
votes
1
answer
34
views
On CMS block render by identifier, it brings wrong localization
I'm trying to render a CMS Block, to pass rendered HTML to jsLayout, on updater
I have two CMS blocks, with same name, but for different store fronts (based on store front, the language is different).
...
0
votes
1
answer
307
views
How to change address field labels on the payment / billing page?
I needed to change the street field label on Magento checkout shipping page. According to Magento documentation, the best practice is to use LayoutProcessor Plugin.
I successfully changed the labels ...
0
votes
3
answers
27
views
Minicart Template not getting updated
I am struggling with minicart item template file located at:
app/design/frontend/vendor/theme/Magento_Checkout/web/template/minicart/item
filename: default.html
any changed I make to this file are not ...
3
votes
0
answers
170
views
How to Make Category tree Auto expand the assigned subcategory tree in edit product form?
I'm using Magento 2.4.1 and have 4 levels category when editing a product in cms it really cumbersome when I need to locate the hierarchy of my product categories because when it first loads it only ...
0
votes
1
answer
371
views
Change position of elements/uiComponents in Magento 2 checkout depending on screen size
I have 2 html elements on my checkout for which I need to change the position on the page, depending on whether it's being displayed on mobile device or desktop.
I cannot solve this using css only ...
0
votes
1
answer
678
views
Pass data to uiComponent in Checkout
I have a simple uiCOmponent that I added to the checkout Layout to display in the jsLayout.
The code looks like this.
component.html
<div class="delivery-estimation" data-bind="text: ...
1
vote
1
answer
133
views
M2: Using LayoutProcessor, block taking up entire block instead of being a child
I am trying to use LayoutProcessor to include a block within the section before-place-order on the M2 Checkout.
Currently, I already have two blocks within there (a comments block and an order ...
8
votes
2
answers
6k
views
Magento 2 : How to debug knockoutjs getRegion() bindings
Shipping address is displayed using below knockout js code.
I am having a hard time finding the back-end code that's setting data for getRegion('ship-to') function even though I could see the UI JS ...
3
votes
2
answers
8k
views
How to pass data from PHP to JavaScript component
I've overridden the grand-total element in checkout_cart_index layout and in my custom component JS I need to get the data that I have in a PHP class with a specific logic.
How can I get the data ...
3
votes
2
answers
6k
views
Magento2 - How to change cart totals label?
I want to modify this label
Its from "checkout.cart.totals" block in magento\vendor\magento\module-checkout\view\frontend\layout\checkout_cart_index.xml
, and I'm pretty sure its this chunk of code ...
2
votes
1
answer
2k
views
Magento2 - Reposition billing address form to customer-email region
I'm trying to reposition the billing-address-form below the authentication form. But I can't figure it out.
Preferred result:
What I have done so far
I have found this question, and made a module ...
1
vote
1
answer
3k
views
How to add custom content to block layout render by jslayout
Inside customer module layout default
vendor/magento/module-customer/view/frontend/layout/default.xml
<block class="Magento\Customer\Block\Account\AuthenticationPopup" name="authentication-...