Skip to main content

Questions tagged [installdata]

0 votes
2 answers
129 views

Autosmart\CategoryAttributes\Model\Resolver\CategoryAttribute resolve
Noor Mohamed's user avatar
1 vote
1 answer
423 views

I would like to add a custom attribute to the product and create an installData.php according to the guide. However, nothing changed after se:up. Please help. app/code/My/Module/Setup/InstallData.php &...
hill2011's user avatar
1 vote
2 answers
1k views

I'm working with a legacy module where they used the old InstallData.php script to build their tables, and now I need to make some changes to them. If I wrote those changes in a db_schema.xml, it gets ...
Ivan Augusto's user avatar
0 votes
2 answers
365 views

i'm trying to add an attribute to the categories, but my setup doesn't add anything the input is visible in the categories, but you even on save the input value stays empty and i can't find any ...
user80390's user avatar
2 votes
0 answers
547 views

I have created the following: registration.php <?php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, 'Vendor_NewField', ...
Jack Brooks's user avatar
2 votes
1 answer
453 views

I am trying to create a category attribute: This is my file form Vendor/Module/Setup: use Magento\Catalog\Model\Category; use Magento\Catalog\Setup\CategorySetupFactory; use Magento\Framework\Setup\...
Attila Naghi's user avatar
  • 4,213
1 vote
1 answer
63 views

Here is my installation method. Why, after installation, in the default attribute set, I see only the attributes https://prnt.sc/s20b3a, https://prnt.sc/s20czw? They should not be here. How to fix? ...
Goryyn's user avatar
  • 113
1 vote
2 answers
2k views

How to create multiple customer attributes in Magento 2 using InstallData or UpgradeData? <?php namespace DeviMage\CustomerAttribute\Setup; use Magento\Customer\Model\Customer; use Magento\...
Devidas's user avatar
  • 3,383
0 votes
1 answer
76 views

Here my question is not how to create customer attribute. I want to know the running flow explanation of this process? We can create this by below code in custom module. <?php namespace Vendor\...
Mujahidh's user avatar
  • 2,782
1 vote
0 answers
140 views

I am trying to use default Color Picker component of Magento. If I edit products individually the color picker works perfectly. Once I try the update attributes action from Catalog->Products page ...
Kieran's user avatar
  • 98
1 vote
2 answers
606 views

as the title suggests I'm creating a module that programmatically installs pages on cms_page, my problem arises when I want to load the contents of a phtml file and pass it as html into the array to ...
Orazio D'Arrigo's user avatar
2 votes
2 answers
415 views

I'm trying to set up 2 stores I created using InstallData script, but When I run php bin/magento setup:upgrade, I'm getting an error No region found within the locale 'en' and the process stops. What ...
Vaxo Basilidze's user avatar
0 votes
3 answers
748 views

I'm too new to Magento: i'm getting an error when setup:upgrade, here is my code: app/code/Adamsmage/Checkoutattribute/Setup/InstallData.php <?php namespace Adamsmage\Checkoutattribute\Setup; use ...
Partab Saifuddin Zakir's user avatar
0 votes
2 answers
313 views

I'm using Magento 2.2.3, i need to add Customer Address Attribute, but when i run setup:upgrade I'm getting error of Wrong Entity ID. Here is My code: CustomerAddress\Attribute\Setup\InstallData.php ...
Partab Saifuddin Zakir's user avatar
0 votes
2 answers
491 views

How to add a new column in admin_user table Magento 2 ?
prabhakaran7's user avatar
  • 1,135

15 30 50 per page