Magento
Magento :: Save Form data in session when error occurs in form submit
1. IN Your Controller Get the form data and save values in session: 2. Then in the form page get the session values: 3. And in form for each fields set the values:
1. IN Your Controller Get the form data and save values in session: 2. Then in the form page get the session values: 3. And in form for each fields set the values:
1.- Create a copy of view.phtml in your theme like your_view.phtml 2. change your your_view.phtml as per your requirement. 3.In Your product go to Design tab and inside Custom Layout Update add the following code:
foreach ($products as $val) : $isNewImage = $val->getResource()->getAttribute(‘product_name_logo’)->getFrontend()->getValue($val); ?>
File Location: \app\code\codePool\namespace\module\Block\Adminhtml\module.php Full code Now in your controller file: \app\code\codePool\namespace\module\controllers\Adminhtml\moduleController.php
In the following script changes made to full fill client requirement like : The order id exported never will export again : delimiter should be ; . Every value should be closed in “” . The File copy should be upload to third party ftp server. in csv only configurable Read more…
The Following file will downlode the all csv from ftp server to local server process the file add tracking number to shipment if shipment is not created it will create first after add the tracking number and delete the csv files from server and local server
The Following file will downlode the csv from ftp server to local server process the file update inventory,delete the files from server and local server
Note: In above code i use a function named decodeURIComponent() this function give the query string data with spaces
Create a small module to save mata details automatically: 1.app/etc/modules/Sushant_Meta.xml 2. app/code/local/Sushant/Meta/etc/config.xml 3.app/code/local/Sushant/Meta/Model/Observer.php