A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [savedata]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 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
0answers
44 views

Magento 2: Categories import via CSV not updated same name child category as assign in different parent categories

I am importing categories via CSV and it is working. After updating categories data like description, is_active, etc. But same name categories are not updating in different parent. I want to update ...
0
votes
0answers
114 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 ...
1
vote
4answers
573 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 ...
0
votes
0answers
18 views

Magento 2 - How to save new data on database when calculate shipping quote?

I need to save a new data called "ExtraDays" in Magento 2 database, but I don't know how to do it and what table to save. So, when a customer is in the cart and Magento is calculating the shipping I ...
1
vote
1answer
98 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
1answer
108 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. ....