Magento 2 - How to use dynamic row system to populate form in custom shipping moduleMagento 2 - how to get data saved in DB from custom checkout field to appear in adminMagento 2.1 Create a filter in the product grid by new attributeMagento 2 checkout - add a custom field between shipping address and shipping methodMagento 2: How to submit form on checkbox click?Multiselect value does not rendered all previously selected valueWhat is the correct way to create Mock input interface in Web-Api functional test?How to hide particular admin form field(UI Component) based on the value of select field?Remove shipping form custom attribute from address in checkoutHow to show new shipping address modal form below list of shipping addresses?How to create custom form in Magento 2.2.3Magento 2.3 email attachment not working while sending custom email
Why are Gatwick's runways too close together?
How are you supposed to know the strumming pattern for a song from the "chord sheet music"?
Lengthened voiced stops and the airstream through the nose
How do some PhD students get 10+ papers? Is that what I need for landing good faculty position?
Should I not go forward with internship interview process if I don't have the time to prepare properly?
Why is there a large performance impact when looping over an array over 240 elements?
Boss wants me to ignore a software license
Is 悪いところを見つかった proper Japanese?
How does "Te vas a cansar" mean "You're going to get tired"?
Can "être sur" mean "to be about" ?
how do companies get money from being listed publicly
Is there a SQL/english like language that lets you define formulations given some data?
Why command hierarchy, if the chain of command is standing next to each other?
How far did Gandalf and the Balrog drop from the bridge in Moria?
What are these funnel-looking green things in my yard?
Can a PC use the Levitate spell to avoid movement speed reduction from exhaustion?
Bitcoin successfully deducted on sender wallet but did not reach receiver wallet
How would timezones work on a planet 100 times the size of our Earth
Redis Cache Shared Session Configuration
TEMPO: play a sound in animated GIF/PDF/SVG
Does fossil fuels use since 1990 account for half of all the fossil fuels used in history?
AsyncDictionary - Can you break thread safety?
A continuous water "planet" ring around a star
Why isn’t SHA-3 in wider use?
Magento 2 - How to use dynamic row system to populate form in custom shipping module
Magento 2 - how to get data saved in DB from custom checkout field to appear in adminMagento 2.1 Create a filter in the product grid by new attributeMagento 2 checkout - add a custom field between shipping address and shipping methodMagento 2: How to submit form on checkbox click?Multiselect value does not rendered all previously selected valueWhat is the correct way to create Mock input interface in Web-Api functional test?How to hide particular admin form field(UI Component) based on the value of select field?Remove shipping form custom attribute from address in checkoutHow to show new shipping address modal form below list of shipping addresses?How to create custom form in Magento 2.2.3Magento 2.3 email attachment not working while sending custom email
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I built a Magento 2 custom module for shipping that has a select drop down field for users to choose an option. I want to be able to set those options in the admin for the module using the dynamic row system. I have the form built and working. This is the section for the select box using:
frontend>layout>checkout_index_index.xml
<item name="checkout_building_address" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/select</item>
<item name="config" xsi:type="array">
<item name="customScope" xsi:type="string">customCheckoutForm</item>
<item name="template" xsi:type="string">ui/form/field</item>
<item name="elementTmpl" xsi:type="string">ui/form/element/select</item>
</item>
<item name="options" xsi:type="array">
<item name="0" xsi:type="array">
<item name="label" xsi:type="string">Please select value</item>
<item name="value" xsi:type="string"></item>
</item>
<item name="1" xsi:type="array">
<item name="label" xsi:type="string">Option 1</item>
<item name="value" xsi:type="string">value_1</item>
</item>
<item name="2" xsi:type="array">
<item name="label" xsi:type="string">Option 2</item>
<item name="value" xsi:type="string">value_2</item>
</item>
</item>
<item name="value" xsi:type="string">Please Select Value</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="dataScope" xsi:type="string">customCheckoutForm.checkout_building_address</item>
<item name="label" xsi:type="string">Select Building Address</item>
<item name="sortOrder" xsi:type="string">2</item>
</item>
I also followed the Mage docs for getting the dynamic rows in the admin. That is working fine and saves the information to the core_config_data table as a serialized array.
"_1564590939871_871":"addresses":"123 Amy Street Any Town, CA 92234","_1564593462830_830":"addresses":"1475 Main St. Any Town, CA 90210"
I cannot figure out how to get that data to populate the select box in my form.
Thanks in advance for the help!
***** UPDATE *****
I am now using this in Helper>Data.php
public function getJsonConfigValue($configPath, $store = null)
$value = $this->getJsonConfigValue($configPath, $store);
if (empty($value)) return false;
if ($this->isSerialized($value))
$unserializer = ObjectManager::getInstance()->get(MagentoFrameworkUnserializeUnserialize::class);
else
$unserializer = ObjectManager::getInstance()->get(MagentoFrameworkSerializeSerializerJson::class);
return $unserializer->unserialize($value);
and I can see that data in a template using:
public function getJsonSerialized()
$arrayItems = $this->helper->getJsonConfigValue('carriers/dynamic/addresses/address_list');
return json_encode($arrayItems);
And this in a template file view>frontend>templates>array.phtml
<?php echo $block->getJsonSerialized(); ?>
And it appears like this on the page:
"_1564763325005_5":"addresses":"123 My Street, Bldg. 1, My Town, IA 00351"
How do I turn it into something that I can use in a form I built in a custom module to populate the select drop down field?
It this my problem? - return json_encode($arrayItems);
I can't find what I think I am looking for.
Thanks!
***** UPDATE 2 *****
This is part of the test XML to get the box on the page for the module.
view>frontend>layout>checkout_index_index.xml
<item name="checkout_building_address" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/select</item>
<item name="config" xsi:type="array">
<item name="customScope" xsi:type="string">customCheckoutForm</item>
<item name="template" xsi:type="string">ui/form/field</item>
<item name="elementTmpl" xsi:type="string">ui/form/element/select</item>
</item>
<item name="options" xsi:type="array">
<item name="0" xsi:type="array">
<item name="label" xsi:type="string">Please select value</item>
<item name="value" xsi:type="string"></item>
</item>
<item name="1" xsi:type="array">
<item name="label" xsi:type="string">Option 1</item>
<item name="value" xsi:type="string">value_1</item>
</item>
<item name="2" xsi:type="array">
<item name="label" xsi:type="string">Option 2</item>
<item name="value" xsi:type="string">value_2</item>
</item>
</item>
<item name="value" xsi:type="string">Please Select Value</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="dataScope" xsi:type="string">customCheckoutForm.checkout_building_address</item>
<item name="label" xsi:type="string">Select Building Address</item>
<item name="sortOrder" xsi:type="string">2</item>
</item>
I used Api>Data>CustomFieldsInterface.php to get the data from XML
interface CustomFieldsInterface
null
*/
public function getCheckoutBuildingAddress();
/**
* Set checkout buyer name
*
* @param string
From there I get it into to show in the frontend, order and the admin. Instead of using the dummy values I used in the XML file I need to replace it with the data from the array.
magento2 php shipping-methods serialize
add a comment |
I built a Magento 2 custom module for shipping that has a select drop down field for users to choose an option. I want to be able to set those options in the admin for the module using the dynamic row system. I have the form built and working. This is the section for the select box using:
frontend>layout>checkout_index_index.xml
<item name="checkout_building_address" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/select</item>
<item name="config" xsi:type="array">
<item name="customScope" xsi:type="string">customCheckoutForm</item>
<item name="template" xsi:type="string">ui/form/field</item>
<item name="elementTmpl" xsi:type="string">ui/form/element/select</item>
</item>
<item name="options" xsi:type="array">
<item name="0" xsi:type="array">
<item name="label" xsi:type="string">Please select value</item>
<item name="value" xsi:type="string"></item>
</item>
<item name="1" xsi:type="array">
<item name="label" xsi:type="string">Option 1</item>
<item name="value" xsi:type="string">value_1</item>
</item>
<item name="2" xsi:type="array">
<item name="label" xsi:type="string">Option 2</item>
<item name="value" xsi:type="string">value_2</item>
</item>
</item>
<item name="value" xsi:type="string">Please Select Value</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="dataScope" xsi:type="string">customCheckoutForm.checkout_building_address</item>
<item name="label" xsi:type="string">Select Building Address</item>
<item name="sortOrder" xsi:type="string">2</item>
</item>
I also followed the Mage docs for getting the dynamic rows in the admin. That is working fine and saves the information to the core_config_data table as a serialized array.
"_1564590939871_871":"addresses":"123 Amy Street Any Town, CA 92234","_1564593462830_830":"addresses":"1475 Main St. Any Town, CA 90210"
I cannot figure out how to get that data to populate the select box in my form.
Thanks in advance for the help!
***** UPDATE *****
I am now using this in Helper>Data.php
public function getJsonConfigValue($configPath, $store = null)
$value = $this->getJsonConfigValue($configPath, $store);
if (empty($value)) return false;
if ($this->isSerialized($value))
$unserializer = ObjectManager::getInstance()->get(MagentoFrameworkUnserializeUnserialize::class);
else
$unserializer = ObjectManager::getInstance()->get(MagentoFrameworkSerializeSerializerJson::class);
return $unserializer->unserialize($value);
and I can see that data in a template using:
public function getJsonSerialized()
$arrayItems = $this->helper->getJsonConfigValue('carriers/dynamic/addresses/address_list');
return json_encode($arrayItems);
And this in a template file view>frontend>templates>array.phtml
<?php echo $block->getJsonSerialized(); ?>
And it appears like this on the page:
"_1564763325005_5":"addresses":"123 My Street, Bldg. 1, My Town, IA 00351"
How do I turn it into something that I can use in a form I built in a custom module to populate the select drop down field?
It this my problem? - return json_encode($arrayItems);
I can't find what I think I am looking for.
Thanks!
***** UPDATE 2 *****
This is part of the test XML to get the box on the page for the module.
view>frontend>layout>checkout_index_index.xml
<item name="checkout_building_address" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/select</item>
<item name="config" xsi:type="array">
<item name="customScope" xsi:type="string">customCheckoutForm</item>
<item name="template" xsi:type="string">ui/form/field</item>
<item name="elementTmpl" xsi:type="string">ui/form/element/select</item>
</item>
<item name="options" xsi:type="array">
<item name="0" xsi:type="array">
<item name="label" xsi:type="string">Please select value</item>
<item name="value" xsi:type="string"></item>
</item>
<item name="1" xsi:type="array">
<item name="label" xsi:type="string">Option 1</item>
<item name="value" xsi:type="string">value_1</item>
</item>
<item name="2" xsi:type="array">
<item name="label" xsi:type="string">Option 2</item>
<item name="value" xsi:type="string">value_2</item>
</item>
</item>
<item name="value" xsi:type="string">Please Select Value</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="dataScope" xsi:type="string">customCheckoutForm.checkout_building_address</item>
<item name="label" xsi:type="string">Select Building Address</item>
<item name="sortOrder" xsi:type="string">2</item>
</item>
I used Api>Data>CustomFieldsInterface.php to get the data from XML
interface CustomFieldsInterface
null
*/
public function getCheckoutBuildingAddress();
/**
* Set checkout buyer name
*
* @param string
From there I get it into to show in the frontend, order and the admin. Instead of using the dummy values I used in the XML file I need to replace it with the data from the array.
magento2 php shipping-methods serialize
Get this data and decode json, then assign this using layoutprocessor
– Sohel Rana
Aug 2 at 1:44
@SohelRana - I made an update but I still don't totally have it. I must be not reading something right or missing it in the docs somewhere. Do you have more thoughts?
– stanhook
Aug 3 at 17:59
Where you want to show this in checkout page?
– Sohel Rana
Aug 4 at 9:32
@SohelRana - I made an update above. I am not using layoutProcessor in this case. i was working on a version of this module using one and I couldn't get the data in the admin. magento.stackexchange.com/questions/283830/… Hopefully that helps.
– stanhook
Aug 5 at 13:27
add a comment |
I built a Magento 2 custom module for shipping that has a select drop down field for users to choose an option. I want to be able to set those options in the admin for the module using the dynamic row system. I have the form built and working. This is the section for the select box using:
frontend>layout>checkout_index_index.xml
<item name="checkout_building_address" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/select</item>
<item name="config" xsi:type="array">
<item name="customScope" xsi:type="string">customCheckoutForm</item>
<item name="template" xsi:type="string">ui/form/field</item>
<item name="elementTmpl" xsi:type="string">ui/form/element/select</item>
</item>
<item name="options" xsi:type="array">
<item name="0" xsi:type="array">
<item name="label" xsi:type="string">Please select value</item>
<item name="value" xsi:type="string"></item>
</item>
<item name="1" xsi:type="array">
<item name="label" xsi:type="string">Option 1</item>
<item name="value" xsi:type="string">value_1</item>
</item>
<item name="2" xsi:type="array">
<item name="label" xsi:type="string">Option 2</item>
<item name="value" xsi:type="string">value_2</item>
</item>
</item>
<item name="value" xsi:type="string">Please Select Value</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="dataScope" xsi:type="string">customCheckoutForm.checkout_building_address</item>
<item name="label" xsi:type="string">Select Building Address</item>
<item name="sortOrder" xsi:type="string">2</item>
</item>
I also followed the Mage docs for getting the dynamic rows in the admin. That is working fine and saves the information to the core_config_data table as a serialized array.
"_1564590939871_871":"addresses":"123 Amy Street Any Town, CA 92234","_1564593462830_830":"addresses":"1475 Main St. Any Town, CA 90210"
I cannot figure out how to get that data to populate the select box in my form.
Thanks in advance for the help!
***** UPDATE *****
I am now using this in Helper>Data.php
public function getJsonConfigValue($configPath, $store = null)
$value = $this->getJsonConfigValue($configPath, $store);
if (empty($value)) return false;
if ($this->isSerialized($value))
$unserializer = ObjectManager::getInstance()->get(MagentoFrameworkUnserializeUnserialize::class);
else
$unserializer = ObjectManager::getInstance()->get(MagentoFrameworkSerializeSerializerJson::class);
return $unserializer->unserialize($value);
and I can see that data in a template using:
public function getJsonSerialized()
$arrayItems = $this->helper->getJsonConfigValue('carriers/dynamic/addresses/address_list');
return json_encode($arrayItems);
And this in a template file view>frontend>templates>array.phtml
<?php echo $block->getJsonSerialized(); ?>
And it appears like this on the page:
"_1564763325005_5":"addresses":"123 My Street, Bldg. 1, My Town, IA 00351"
How do I turn it into something that I can use in a form I built in a custom module to populate the select drop down field?
It this my problem? - return json_encode($arrayItems);
I can't find what I think I am looking for.
Thanks!
***** UPDATE 2 *****
This is part of the test XML to get the box on the page for the module.
view>frontend>layout>checkout_index_index.xml
<item name="checkout_building_address" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/select</item>
<item name="config" xsi:type="array">
<item name="customScope" xsi:type="string">customCheckoutForm</item>
<item name="template" xsi:type="string">ui/form/field</item>
<item name="elementTmpl" xsi:type="string">ui/form/element/select</item>
</item>
<item name="options" xsi:type="array">
<item name="0" xsi:type="array">
<item name="label" xsi:type="string">Please select value</item>
<item name="value" xsi:type="string"></item>
</item>
<item name="1" xsi:type="array">
<item name="label" xsi:type="string">Option 1</item>
<item name="value" xsi:type="string">value_1</item>
</item>
<item name="2" xsi:type="array">
<item name="label" xsi:type="string">Option 2</item>
<item name="value" xsi:type="string">value_2</item>
</item>
</item>
<item name="value" xsi:type="string">Please Select Value</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="dataScope" xsi:type="string">customCheckoutForm.checkout_building_address</item>
<item name="label" xsi:type="string">Select Building Address</item>
<item name="sortOrder" xsi:type="string">2</item>
</item>
I used Api>Data>CustomFieldsInterface.php to get the data from XML
interface CustomFieldsInterface
null
*/
public function getCheckoutBuildingAddress();
/**
* Set checkout buyer name
*
* @param string
From there I get it into to show in the frontend, order and the admin. Instead of using the dummy values I used in the XML file I need to replace it with the data from the array.
magento2 php shipping-methods serialize
I built a Magento 2 custom module for shipping that has a select drop down field for users to choose an option. I want to be able to set those options in the admin for the module using the dynamic row system. I have the form built and working. This is the section for the select box using:
frontend>layout>checkout_index_index.xml
<item name="checkout_building_address" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/select</item>
<item name="config" xsi:type="array">
<item name="customScope" xsi:type="string">customCheckoutForm</item>
<item name="template" xsi:type="string">ui/form/field</item>
<item name="elementTmpl" xsi:type="string">ui/form/element/select</item>
</item>
<item name="options" xsi:type="array">
<item name="0" xsi:type="array">
<item name="label" xsi:type="string">Please select value</item>
<item name="value" xsi:type="string"></item>
</item>
<item name="1" xsi:type="array">
<item name="label" xsi:type="string">Option 1</item>
<item name="value" xsi:type="string">value_1</item>
</item>
<item name="2" xsi:type="array">
<item name="label" xsi:type="string">Option 2</item>
<item name="value" xsi:type="string">value_2</item>
</item>
</item>
<item name="value" xsi:type="string">Please Select Value</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="dataScope" xsi:type="string">customCheckoutForm.checkout_building_address</item>
<item name="label" xsi:type="string">Select Building Address</item>
<item name="sortOrder" xsi:type="string">2</item>
</item>
I also followed the Mage docs for getting the dynamic rows in the admin. That is working fine and saves the information to the core_config_data table as a serialized array.
"_1564590939871_871":"addresses":"123 Amy Street Any Town, CA 92234","_1564593462830_830":"addresses":"1475 Main St. Any Town, CA 90210"
I cannot figure out how to get that data to populate the select box in my form.
Thanks in advance for the help!
***** UPDATE *****
I am now using this in Helper>Data.php
public function getJsonConfigValue($configPath, $store = null)
$value = $this->getJsonConfigValue($configPath, $store);
if (empty($value)) return false;
if ($this->isSerialized($value))
$unserializer = ObjectManager::getInstance()->get(MagentoFrameworkUnserializeUnserialize::class);
else
$unserializer = ObjectManager::getInstance()->get(MagentoFrameworkSerializeSerializerJson::class);
return $unserializer->unserialize($value);
and I can see that data in a template using:
public function getJsonSerialized()
$arrayItems = $this->helper->getJsonConfigValue('carriers/dynamic/addresses/address_list');
return json_encode($arrayItems);
And this in a template file view>frontend>templates>array.phtml
<?php echo $block->getJsonSerialized(); ?>
And it appears like this on the page:
"_1564763325005_5":"addresses":"123 My Street, Bldg. 1, My Town, IA 00351"
How do I turn it into something that I can use in a form I built in a custom module to populate the select drop down field?
It this my problem? - return json_encode($arrayItems);
I can't find what I think I am looking for.
Thanks!
***** UPDATE 2 *****
This is part of the test XML to get the box on the page for the module.
view>frontend>layout>checkout_index_index.xml
<item name="checkout_building_address" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/select</item>
<item name="config" xsi:type="array">
<item name="customScope" xsi:type="string">customCheckoutForm</item>
<item name="template" xsi:type="string">ui/form/field</item>
<item name="elementTmpl" xsi:type="string">ui/form/element/select</item>
</item>
<item name="options" xsi:type="array">
<item name="0" xsi:type="array">
<item name="label" xsi:type="string">Please select value</item>
<item name="value" xsi:type="string"></item>
</item>
<item name="1" xsi:type="array">
<item name="label" xsi:type="string">Option 1</item>
<item name="value" xsi:type="string">value_1</item>
</item>
<item name="2" xsi:type="array">
<item name="label" xsi:type="string">Option 2</item>
<item name="value" xsi:type="string">value_2</item>
</item>
</item>
<item name="value" xsi:type="string">Please Select Value</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="dataScope" xsi:type="string">customCheckoutForm.checkout_building_address</item>
<item name="label" xsi:type="string">Select Building Address</item>
<item name="sortOrder" xsi:type="string">2</item>
</item>
I used Api>Data>CustomFieldsInterface.php to get the data from XML
interface CustomFieldsInterface
null
*/
public function getCheckoutBuildingAddress();
/**
* Set checkout buyer name
*
* @param string
From there I get it into to show in the frontend, order and the admin. Instead of using the dummy values I used in the XML file I need to replace it with the data from the array.
magento2 php shipping-methods serialize
magento2 php shipping-methods serialize
edited Aug 5 at 13:25
stanhook
asked Aug 1 at 13:25
stanhookstanhook
63 bronze badges
63 bronze badges
Get this data and decode json, then assign this using layoutprocessor
– Sohel Rana
Aug 2 at 1:44
@SohelRana - I made an update but I still don't totally have it. I must be not reading something right or missing it in the docs somewhere. Do you have more thoughts?
– stanhook
Aug 3 at 17:59
Where you want to show this in checkout page?
– Sohel Rana
Aug 4 at 9:32
@SohelRana - I made an update above. I am not using layoutProcessor in this case. i was working on a version of this module using one and I couldn't get the data in the admin. magento.stackexchange.com/questions/283830/… Hopefully that helps.
– stanhook
Aug 5 at 13:27
add a comment |
Get this data and decode json, then assign this using layoutprocessor
– Sohel Rana
Aug 2 at 1:44
@SohelRana - I made an update but I still don't totally have it. I must be not reading something right or missing it in the docs somewhere. Do you have more thoughts?
– stanhook
Aug 3 at 17:59
Where you want to show this in checkout page?
– Sohel Rana
Aug 4 at 9:32
@SohelRana - I made an update above. I am not using layoutProcessor in this case. i was working on a version of this module using one and I couldn't get the data in the admin. magento.stackexchange.com/questions/283830/… Hopefully that helps.
– stanhook
Aug 5 at 13:27
Get this data and decode json, then assign this using layoutprocessor
– Sohel Rana
Aug 2 at 1:44
Get this data and decode json, then assign this using layoutprocessor
– Sohel Rana
Aug 2 at 1:44
@SohelRana - I made an update but I still don't totally have it. I must be not reading something right or missing it in the docs somewhere. Do you have more thoughts?
– stanhook
Aug 3 at 17:59
@SohelRana - I made an update but I still don't totally have it. I must be not reading something right or missing it in the docs somewhere. Do you have more thoughts?
– stanhook
Aug 3 at 17:59
Where you want to show this in checkout page?
– Sohel Rana
Aug 4 at 9:32
Where you want to show this in checkout page?
– Sohel Rana
Aug 4 at 9:32
@SohelRana - I made an update above. I am not using layoutProcessor in this case. i was working on a version of this module using one and I couldn't get the data in the admin. magento.stackexchange.com/questions/283830/… Hopefully that helps.
– stanhook
Aug 5 at 13:27
@SohelRana - I made an update above. I am not using layoutProcessor in this case. i was working on a version of this module using one and I couldn't get the data in the admin. magento.stackexchange.com/questions/283830/… Hopefully that helps.
– stanhook
Aug 5 at 13:27
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f284109%2fmagento-2-how-to-use-dynamic-row-system-to-populate-form-in-custom-shipping-mo%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f284109%2fmagento-2-how-to-use-dynamic-row-system-to-populate-form-in-custom-shipping-mo%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Get this data and decode json, then assign this using layoutprocessor
– Sohel Rana
Aug 2 at 1:44
@SohelRana - I made an update but I still don't totally have it. I must be not reading something right or missing it in the docs somewhere. Do you have more thoughts?
– stanhook
Aug 3 at 17:59
Where you want to show this in checkout page?
– Sohel Rana
Aug 4 at 9:32
@SohelRana - I made an update above. I am not using layoutProcessor in this case. i was working on a version of this module using one and I couldn't get the data in the admin. magento.stackexchange.com/questions/283830/… Hopefully that helps.
– stanhook
Aug 5 at 13:27