Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [data-install]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

Magento 2 upgrade - Setup:upgrade stuck at Magento_Customer

I am trying to upgrade Magento 2.2.1 to Magento 2.4.3-p1 using composer and successfully new version upgrade but when run upgrade command but process stuck not progress process of from Data install/...
Bhavesh Godhani's user avatar
1 vote
3 answers

Magento 2 - InstallData.php does not run again after first time

I have created my custom module to add more attributes for customers. The InstallData.php worked perfectly for the first time and added all the attributes I wanted. However, I need to add more ...
Magento Learner's user avatar
1 vote
3 answers

Magento2: How can update & create the CMS static Page programmatically

How can update an existing CMS static Page and how to create a new CMS static Page - programmatically
St3phan's user avatar
  • 2,907
5 votes
2 answers

Data install script wasn't run

I've created an installer script which does its job, but the data-install script doesn't seem to be running and I'm not sure why. Here is my data-install script: <?php $defaultCategories = ...
123TFO's user avatar
  • 109
1 vote
1 answer

How do I quickly add custom attributes to a large subset of customers?

I have a data-install script that I'd like to update each customer with a new custom id. I'm restricting the update to 2 customer groups, so I'm fetching the customers like so: $customers = Mage::...
Andrew Kirchmyer's user avatar
3 votes
2 answers

How core_config_data settings work

I have a question related to core_config_data. Need some magento experts to clarify this. For eg: I have paypal extension disabled by default. When you enable it from the admin interface it enables ...
Jeetendra Pujari's user avatar
3 votes
1 answer

How can I programmatically create a RESTful api role and consumer?

How can I create a RESTful role and consumer during the installation of an extension (module) using a data-install script located at: app/code/community/Namespace/Module/data/namespace_module_setup/...
Tim Hallman's user avatar
  • 1,211