Skip to main content

Questions tagged [save]

Questions related to save action, most commonly used in form submit

Filter by
Sorted by
Tagged with
7 votes
2 answers
12k views

Magento2 : user define customer attribute not save value while create / save from admin

I have created two customer attribute one "abc" and second is "xyz" this two attribute display properly in customer admin. also attributes are created in database table "eav_attribute". But while save ...
Sarfaraj Sipai's user avatar
0 votes
3 answers
6k views

How to solve the error : "Could not save product "20072" with position 0 to category 7" in magento 2 [duplicate]

While unasign the product from multiple categories to single category and trying to save the product, it thorow the error like below Could not save product "20072" with position 0 to category 7 I ...
Jaisa's user avatar
  • 2,626
2 votes
2 answers
5k views

How to add save and continue button in ui-form in Magento 2?

I have created admin grid and form using ui component. Now I need to add save and continue button, How do I add it? Please provide me a solution
Jaisa's user avatar
  • 2,626
2 votes
2 answers
2k views

Magento 2.2.2 On product save i get error ''Invalid Form Key. Please refresh the page'

I add some custom option in sample product. I save this product and add changes in custom option. But I can not save the product. and get this error, Invalid Form Key. Please refresh the page.
Dhaduk Mitesh's user avatar
1 vote
2 answers
2k views

The table 'catalog_product_index_price_tmp' is full error

I faced one strange issue with product saving on Magento EE 1.14.2.4. This issue appears only when I save exactly one product, I'm able to save other products without any problems. Here is screenshot ...
Nick's user avatar
  • 1,020
0 votes
0 answers
520 views

Checkout page custom filed value not save in magento 1.9.2

I have to add a custom field called "Mobile number" in Customer registration page and checkout registration the code working perfectly in customer registration but in checkout registration the value ...
amith lal's user avatar
  • 790
0 votes
1 answer
4k views

How to save upload image file to a folder on product edit page in backend in Magento 2

I have added a custom tab on admin product edit page. And in that custom tab added a image upload field. I need to save the image while saveing the product. Is it possible to do it via ajax and a ...
Rita Jose's user avatar
  • 1,850
5 votes
1 answer
10k views

Insert multiple rows without calling model save inside loop

Following code is working fine. $data = $this->_customDataSave->create(); $data->setUsername($this->getUsername()); $data->setFullname($this->getFullname()); $data->setEmail($...
Anshu Mishra's user avatar
  • 8,990
3 votes
2 answers
4k views

Custom Field Value not saving on sales_flat_quote & sales_flat_order

I have created a custom field from sales_flat_quote & sales_flat_order tables and in checkout page have field called delivery_date. When an order is being placed, it's not saving my custom field ...
Manoj Kumar's user avatar
  • 1,348
3 votes
5 answers
7k views

How to update the attribute scope programmatically in Magento 2

I have 20 product attributes. I need to change those attributes' saving scope to "Global". How can I achieve this?
Jaisa's user avatar
  • 2,626
2 votes
1 answer
2k views

Magento 2: How to Set custom product attribute value on product save

i have created an observer, event on before product save to set custom product attribute value, here is my code. etc/adminhtml/events.xml <?xml version="1.0"?> <config xmlns:xsi="http://www....
Jay Kapoor's user avatar
2 votes
1 answer
1k views

UI component save button controller magento 2

I have UI admin form xml file. I've got SaveButton.php block file, but I need to save form in db. As far as I know I need controller. How this controller would look like and in which directory it ...
Rufus's user avatar
  • 621
2 votes
1 answer
5k views

Magento 2 Add extra data to an order

I'm brand new to Magento 2 programming, although I have a number of years of PHP behind me. I need to store an id from an external system alongside an order that that system creates. I've got the ...
boris_horis's user avatar
2 votes
1 answer
18k views

How can i quick update of qty and stock and all inventory fields in Magento

I want quick update of product on MAGENTO C.E 1.7 I know about the quick update of product attribute value using below code: getResource()->saveAttribute() just like $product=Mage::...
Amit Bera's user avatar
  • 77.6k
2 votes
2 answers
11k views

Programatically update a single attribute in Store View Scope

If you load a product in Store View scope, all the inherited data ("Use Default Values") comes with it... which makes perfect sense, so far so good. $_product = Mage::getModel('catalog/product')->...
Doug McLean's user avatar
  • 1,150
2 votes
2 answers
13k views

How to save customer attribute value in custom script in Magento 2

How to save customer attribute value in custom script in Magento 2. The prerequisite is to add first your new attribute programatically. To do add a customer attribute please review these: Magento2 ...
Daniel Ifrim's user avatar
  • 3,404
1 vote
3 answers
5k views

Magento 2.2.5: How to get product id after product saved using plugin

I'm looking for how to get product id after product saved using plugin. I use the plugin to catch after execute() is fired. But I can't get product id no matter how I try. Here is what I've done: ...
fudu's user avatar
  • 1,288
1 vote
0 answers
807 views

Magento 2 save custom order status in custom table using custom module

I have created a custom module for show the custom order status in the admin. It's working fine and displaying the static. Now, I want to save the status value in the custom table with the current ...
mageDev0688's user avatar
0 votes
1 answer
4k views

500 Internal Server Error on /checkout/onepage/saveOrder/ redirects to cart without emptying

I am facing 500 Internal Server Error on /checkout/onepage/saveOrder/form_key/xxxx at the time of clicking place order button at checkout page. I have found the same issue at this link http://forum....
Gayathri's user avatar
  • 483
0 votes
1 answer
5k views

How to save a image upload to a folder in magento2? [duplicate]

Created a custom tab on admin product edit page. Here added a image upload section. I need to save the uploaded image to a folder.
Rita Jose's user avatar
  • 1,850
0 votes
2 answers
2k views

save admin form and redirect back url in magento 2.3

I have create admin sales grid. All is working fine. And i have added one link in order view page. This link click redirect custom admin form. And Finally i want to save custom admin form. And ...
Mohit Patel's user avatar
  • 3,913
0 votes
5 answers
1k views

For each loop running only once

In the below code, where I am trying to update a custom attribute called branding. The for loop is running only for one iteration and stopping. It is updating only the first product in the list and ...
Akshay Vasu's user avatar
0 votes
1 answer
749 views

Saved image in the admin grid is not fetching while editing the grid Magento 2

The image is already saved in the uploaded image. But when editing the form it shows No file Chosen. How can I fetch the previously save the image? Here is the save.php code: <?php ...
Kowsigan Atsayam's user avatar
0 votes
1 answer
809 views

Please Wait... When trying to edit a large Categories' name?

I'm editing a bunch of categories for this Magento site and I am hitting a wall. I'm only trying to change the Name, the status of the Is Active and the Includes in Navigation Menu. On the ...
A. Lal's user avatar
  • 131
0 votes
0 answers
671 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
0 votes
1 answer
3k views

Magento2: Category Select Attribute Not Saving?

I've registered a custom select option to my categories using the files below in my module. The select option appears in the backend with my custom options however it doesn't save the selected option ...
lky's user avatar
  • 797
0 votes
1 answer
2k views

Magento 2 : How to save data in database

I want to save some data in to custom table.When I use static value to save data then it is going good but If I try to use dynamic data or used any calculation in between then It is going in infinite ...
Krupali's user avatar
  • 1,150
-1 votes
2 answers
4k views

Magento 2 : Class interceptor does not exist [duplicate]

I have a simple module when I save data then this error : Magepow\Importexport\Controller\Adminhtml\Allimports\Save\Interceptor does not exist [] [] here is save file <?php namespace ...
MichaelHa's user avatar
  • 661