Skip to main content

Questions tagged [jslayout]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

Render paypal express button in jslayout

The goal is to render Paypal express button under the customer's email address field in checkout page. Since the checkout page is render by jslayout, how can I insert the paypal express button block ...
Eric Libay's user avatar
0 votes
1 answer

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 &...
Bayzel's user avatar
  • 187
0 votes
1 answer

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). ...
KeyBi's user avatar
  • 1
0 votes
1 answer

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 ...
magento's user avatar
  • 11
0 votes
3 answers

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 ...
NileshPlus91's user avatar
3 votes
0 answers

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 ...
blue's user avatar
  • 128
0 votes
1 answer

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 ...
Chaz's user avatar
  • 267
0 votes
1 answer

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: ...
Chaz's user avatar
  • 267
1 vote
1 answer

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 ...
ne0nlight's user avatar
  • 209
8 votes
2 answers

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 ...
cnu's user avatar
  • 345
3 votes
2 answers

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 ...
Hector Andres Rojas's user avatar
3 votes
2 answers

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 ...
zekkai's user avatar
  • 276
2 votes
1 answer

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 ...
Frank Groot's user avatar
1 vote
1 answer

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-...
mrtuvn's user avatar
  • 3,283