Questions tagged [savedata]
The savedata tag has no usage guidance.
21
questions
0
votes
0
answers
24
views
magento 2.4 csvProcessor saveData works but appendData doesn't?
I'm developing a custom extension to download some data as a CSV files. My current code works (I can see the file and its content generated in the folder I chose):
/* Magento\Framework\File\Csv */
$...
0
votes
3
answers
100
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 ...
0
votes
0
answers
66
views
How to save a frontend user uploaded image in desired folder using knockout js
I want to put a file upload button in my gift message extended module(file path is: Vendor/Magento_GiftMessage/web/template/gift-message.html. I could add the button and display the image as well, now ...
0
votes
0
answers
60
views
Magento 2 - How to run API Call if click save button
I am using Amasty Store Locator module, in this module, we can able to add custom attribute values, I am created two attributes custom input text fields, the first input field filled manually and ...
0
votes
1
answer
162
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 ...
0
votes
1
answer
616
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 ...
0
votes
3
answers
261
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
{
...
2
votes
1
answer
330
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/...
0
votes
1
answer
524
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/...
0
votes
1
answer
205
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 ...
0
votes
2
answers
443
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(
[...
0
votes
0
answers
72
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 ...
0
votes
1
answer
287
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 ...
1
vote
1
answer
1k
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 ...
0
votes
0
answers
932
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 ...
1
vote
1
answer
1k
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 ...
0
votes
1
answer
381
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($...
0
votes
0
answers
351
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 ...
2
votes
4
answers
4k
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 ...
1
vote
1
answer
313
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 ...
1
vote
1
answer
378
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.
....