Questions tagged [mapping]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 views

Did I set up configurable products wrong? Or is this intended functionality?

Magento can link to a configurable product with options already specified by adding the attribute id and option to the query string, like this: www.example.com/product-link.html?size=large If we have ...
user avatar
0 votes
0 answers
26 views

How to map data from external API to new entity

I want to use best practice to map data from API to my entity. My conditions are: external API response as array, and need to save it to my Magento entity, but response array have different key names, ...
user avatar
  • 141
0 votes
1 answer
23 views

Join array values and keys between two php arrays

I need to merge (sort of join) two arrays with both same keys, and in result i want to have the values of the first as keys of the second one : Example : $keyArray = [ "key1" => "...
user avatar
1 vote
0 answers
93 views

Magento Migration Tool mapping files for config.xml

So I am configuring the Magento Migration Tool as a separate module, as recommended in the documentation. I have followed all the instructions and got to the point of providing some table ignores ...
user avatar
  • 41
1 vote
1 answer
888 views

Magento2: Toggle button yes/no to enable/disable module function in shipment method/

For the new shipment method, I created a toggle button yes/no to enable/disable module function. But the issue is while selecting yes or no module unable to work in that button function. please check ...
user avatar
  • 171
0 votes
1 answer
618 views

map js url not loading magento2

we have a site that was running fine, we just move site to new instance and got an error. All js file's map urls, that we define in require-config.js file not loading on frontend. Like, we define - ...
user avatar
  • 885
8 votes
3 answers
853 views

What is the use of "mapping" node in di.xml in Magento 2?

I am using Magento 2.2.5 have a look on file vendor\magento\module-sales\etc\di.xml <type name="Magento\Payment\Model\Checks\SpecificationFactory"> <arguments> <...
user avatar
  • 574
9 votes
2 answers
18k views

Magento2: How to convert JSON to Array of nested objects

I am wanting to understand if there are some functions in Magento Framework which will assist me in mapping an array of nested objects from JSON (such as what would happen when the REST API is ...
user avatar
  • 659
2 votes
0 answers
98 views

Magento 2 Custom Customer Attribute Save Data and edit data, i have problem

I create a customer module this module working good , when I migrate data mangento 1.x to magento 2.x wiht migration tool and i wish crete a new customer don’t save data or edit any customer don’t ...
user avatar
1 vote
1 answer
512 views

Is it possible to map category products in website or store level

Default Magento doesn't allow product mapping to categories per website or store level. This is global. Is it possible to customize this in Magento to make it website or store level? If yes, then how ...
user avatar
  • 1,946