Skip to main content

Questions tagged [savedata]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
54 views

Customer custom attributes do not save data to customer_entity table

I'm creating a rest API and I need to add a custom columns to the customer_entity table and save the value in that fields within API request. Сreated new attributes in the customer_entity table using ...
David's user avatar
  • 21
0 votes
3 answers
980 views

save custom billing attribute value from order

I have a problem with saving the custom billing attributes. I added attributes into the Customer Address Entity table. all fields of billing address are saved to DB without my custom attribute. My ...
Gancho Ganev's user avatar
0 votes
1 answer
334 views

Magento2.3.5 New Column to cms page store with declarative Schemas no saving

I have added a new column with declarative schema found here: https://devdocs.magento.com/guides/v2.4/extension-dev-guide/declarative-schema/db-schema.html Is all added to the table cms_page_store and ...
Juliano Vargas's user avatar
0 votes
1 answer
2k views

How to get checkbox value and save it on database

I have added a custom checkbox in checkout page, and I have added a custom column to sales_order and sales_order_grid tables, now I want to get the value of my checkbox and save it in my custom ...
Noty's user avatar
  • 76
0 votes
3 answers
706 views

Magento 2 How to save data to custom column in "admin_user" table

Hi Here I have created a extra column school in the table Admin_user. While I trying to update or save it inside a "PLUGIN" its giving me error. Here is my Plugin code class Adminsave { ...
Praveen Negimani's user avatar
2 votes
1 answer
967 views

Magento 2: How to save form data to sales_order_item table from .phtml file of adminhtml in magento 2?

Have created form in .phtml file which is display in sales_order_view page in admin. So how to save the form values in sales_order_item table from .phtml file? [Vendor]/[module]/view/adminhtml/layout/...
Jaykumar Pipaliya's user avatar
0 votes
1 answer
1k views

How to save array values with configWriter in Magento 2 core config data?

I want to save some data which is in array form and used this to save array but it will save Array keyword in this How to save array values with this. $this->configWriter->save('my/path/...
Prits's user avatar
  • 625
0 votes
1 answer
827 views

How to save custom table data in Magento 2?

I have created a table using a Controller and Model and in that file show some data. But i don't know how to save that data in database i have created a table in Magento 2 db. But don't understand how ...
Prits's user avatar
  • 625
0 votes
2 answers
1k views

How to show loader on custom checkout page in Magento 2?

I have created some steps in magento 2 on saving the data an ajax is fired. I want to show loader between start and complete process how to i achieve that. My JS file for saving the data is : define( [...
Prits's user avatar
  • 625
0 votes
0 answers
349 views

How to Add Custom Validation on Magento 2 Admin?

I have created some fields in Magento 2 Admin I want to add some custom validation in Admin Area. If I add 200 in Product Cost Column in first row then I want to add 201 in next row if i add value ...
Prits's user avatar
  • 625
0 votes
1 answer
714 views

How to Save data from Checkout new Steps in Magento 2?

I want to save data from Checkout new Steps in Magento 2 ? I have created two text fields in My Step Two Title Tabs which is successfully created but how to save those value in database after ...
Prits's user avatar
  • 625
1 vote
1 answer
3k views

Magento 2 - Can’t save custom Customer attribute value in observer customer_save_after_data_object

I have created three custom attributes for Customer: myapp_id, codice_univoco and indirizzo_pec If I enter a value in codice_univoco and/or indirizzo_pec, data is successfully saved: However, when I ...
ftorre's user avatar
  • 21
0 votes
0 answers
1k views

Unable to save shipping information. Please check input data error in Magento 2.2.3

When i select shipping options and click on next button. It gives me error as Unable to save shipping information. Please check input data. The error is coming at this url /checkout/#shipping I have ...
Nafsss's user avatar
  • 760
1 vote
1 answer
3k views

How to set data for my extension attribute Magento 2.3

I can't set the value for my extension attribute , how to set the value for extension attribute using json array swagger. And i can't show the data in the order grid. The below attribute and value ...
Sabareesh's user avatar
  • 358
0 votes
1 answer
617 views

Magento2: How to check record before save record in table?

I am adding the barcode with product SKU and product ID in a table using below code:- File Path: /app/code/[NameSpace]/[ModuleName]/Model/ResourceModel/Custom.php public function generateBarcodes($...
Purushotam Sharma's user avatar
0 votes
0 answers
680 views

Magento 2 add custom tab in customer edit section and save data

I am able to add custom tab customer edit section when they click on it i am showing one form by using protected function _prepareForm() { this function form is showing but when i change data in that ...
Pawankumar's user avatar
2 votes
4 answers
5k views

How to save value to customer attributes from checkout page in magento 2?

I have created a customer attribute which created dynamically from backend its fine works in customer_account_create and customer_account_edit and I stuck at saving customer attribute field data in ...
Divya Sekar's user avatar
  • 1,485
1 vote
1 answer
460 views

Magento 2.3. How to add data using model?

I have two variants adding data using Model. Which variant is more rignt ? Especially I want to ask about this $slider->setDataChanges(true);in first variant because I must set up _hasDataChanges ...
Oleg Usik's user avatar
1 vote
1 answer
786 views

Event fire before save invoice in `sales_invoice` table

I want to save value in sales_invoice table of custom attribute ("current_seller_id"). i want to know any event that fire before save the invoice in sales_invoice table or use plugin of which method. ....
HaFiz Umer's user avatar
  • 1,660