Questions tagged [patch-data]

The tag has no usage guidance.

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
1 answer
226 views

Magento 2: Adding quote and order attribute using patch data

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
0 votes
0 answers
43 views

New custom product type - order cancel getting error in magento 2.4.5 and greater version

A new product type created using following link https://aureatelabs.com/blog/how-to-create-a-new-product-type-in-magento-2/ New product type is successfully created and Order placed for new product ...
Chippy Ani's user avatar
0 votes
0 answers
13 views

Company A is an e-commerce store selling rugs online

Company A is an e-commerce store selling rugs online. Company A wants to charge based on the size of rugs provided by the customer. In backend, show product-wise option to enable/disable this ...
Deep Shah's user avatar
  • 535
0 votes
0 answers
6 views

Create a custom component to create display design options in admin and design option dropdown and selected will be displayed on product page

Create a custom component to add/edit/delete and view the detail of design information into admin. Associate the multiple design option to product and show selected design option product detail page. ...
Deep Shah's user avatar
  • 535
0 votes
1 answer
676 views

Adding a product select attribute with a source in Magento 2.4

I've created a module to add a product attribute with a select input using a source for the options. I've used a data patch to add the attribute. I can see the patch in the patch_list table but it's ...
user3417608's user avatar
0 votes
1 answer
278 views

public static function getVersion() : m2

Setup Data Patch script is executed successfully after running setup:upgrade command. Now i want to execute same script with public static function getVersion() function. Module version is : <?xml ...
Jimit Bhavsar's user avatar
0 votes
3 answers
345 views

Magento 2.4 get template file in data patch

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
487 views

How to add new field to 'catalog_product_option' table using Schema Patch?

I have created a custom option checkbox field, now on save, i have to update the value(0/1) to the table 'catalog_product_option' so that i can utilize this field on frontend. How can i achieve this ...
Wakar Ahamad's user avatar
0 votes
0 answers
431 views

Magento2: Config data save using Custom Module

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
0 votes
0 answers
200 views

Missing Product scope after create websites/stores/storeviews via Data/Patch - Magento V2.4 Enterprise

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 Not Working

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