- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2020
08:35 AM
05-27-2020
08:35 AM
Position customAttributes on address-renderer
Hello, I am using an Address Fields Manager module.
The problem is that in the sidebar in the resume they are all seen together (address-renderer/ default.html) and I need to divide them:
<each args="data: address().customAttributes, as: 'element'"> <text args="$parent.getCustomAttributeLabel(element)"/> </each>
Is it possible to separate the CustomAttributes and position it where I want?
The same thing that is done in the Custom Address Template?
Magento ver. 2.3.5-p1
Labels:
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2020
11:47 PM
05-27-2020
11:47 PM
Re: Position customAttributes on address-renderer
The template should look like something like this:
<each args="data: address().customAttributes, as: 'element'"> <if args="typeof element['value'] === 'string'"> <text args="element['value']"/> </if><br/> </each> </each>
Problem Solved ?
Click kudos & Accept as Solution!
Problem solved? Click Accept as Solution!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2020
09:40 AM
05-28-2020
09:40 AM
Re: Position customAttributes on address-renderer
Hi @Bhanu Periwal,
And where do I write the name of my custom attribute?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2022
01:08 AM
05-16-2022
01:08 AM
Re: Position customAttributes on address-renderer
I pay attention to customer focus.