Skip to main content

Questions tagged [patch-data]

Filter by
Sorted by
Tagged with
0 votes
2 answers
327 views

How to create data patch to insert data into the database for dynamic blocks?
Vinod Kumar's user avatar
  • 2,095
1 vote
2 answers
1k views

My extension is failing varnish test over and over again and the only visible error i have found in the error reports is call_user_func(): Argument #1 ($callback) must be a valid callback, class "...
Syed Hassan Zamir's user avatar
0 votes
3 answers
584 views

I'm trying to insert a template file as the content for the block I'm adding programmatically, but I'm not sure how this can be done. I've added the template file in view/frontend/templates/template-...
Frank Groot's user avatar
0 votes
1 answer
567 views

I am creating a custom Module, in that I created a custom table and patch data. The patch data for inserting data into that table. Now the issue is, the custom table was created through declarative ...
Siranjeevi K S's user avatar
0 votes
0 answers
451 views

I want to save encrypted value in core_config_data while setup upgrade without using config.xml. I am trying to use data patch file Vendor\Credentials\Setup\Patch\Data\AddData.php use Magento\...
Paras Arora's user avatar
2 votes
1 answer
3k views

i want to update the store configuration value using Data Patch. Note: please do not suggest install and upgrade script. i tried below code but its not working: <?php /** * Copyright © All ...
adi maheshwary's user avatar
0 votes
0 answers
227 views

I faced an issue. After create script Data/Patch to create multi websites/stores/storeviews. At dropdown of Scope Product, i dont see new websites/stores/storeviews, in spite of it has in ...
Nguyễn Hoàng Tuấn's user avatar
0 votes
1 answer
2k views

Patch File: Bedard/CustomGloves/Setup/Patch/Data <?php namespace Bedard\CustomGloves\Setup\Patch\Data; use Magento\Framework\Setup\Patch\DataPatchInterface; use Magento\Framework\Setup\Patch\...
user857276's user avatar
0 votes
1 answer
1k views

I have a custom product attribute which is under Advanced Pricing group . I am trying to change attribute group of this attribute via data patch using below code : <?php namespace Vendor\Module\...
amitshree's user avatar
  • 7,064
1 vote
1 answer
401 views

Can we add custom quote and order attribute/field using patch data in Magento 2.3.x ? If yes then how it can be done ?
Kishan Patadia's user avatar