IVANH83 Posted February 14, 2010 Share Posted February 14, 2010 Please if someone knows how to add additional fields:(ps_product_lang) NAME, DESCRIPTION, SHORT DESCRIPTION, non default CATEGORY ID of product in attached code ... to expand options for mass update ... big tnx!!!ps. i was able to add some additional fields but with these mentioned above i dont have any luck in attach you can find version for adding code massupdate.phpFetching info... Link to comment Share on other sites More sharing options...
milan77 Posted February 18, 2010 Share Posted February 18, 2010 HI, I use this: "active"=>array( "db_field"=>"active", "friendly"=>"active", "isLang" => 0, "input_size" => 1, ), "name"=>array( "db_field"=>"name", "friendly"=>"Jmeno", "isLang" => 1, "input_size" => 30, ), "quantity"=>array( "db_field"=>"quantity", "friendly"=>"Mnozstvi", "isLang" => 0, "input_size" => 3, ), "price"=>array( "db_field"=>"price", "friendly"=>"Cena", "isLang" => 0, //"prefix"=>'$', "input_size" => 10, ), "wholesale_price"=>array( "db_field"=>"wholesale_price", "friendly"=>$this->l('Cena nakup'), "isLang" => 0, //"prefix"=>'$', "input_size" => 10, ), "weight"=>array( "db_field"=>"weight", "friendly"=>"Hmotnost ($weight_units)", "isLang" => 0, "input_size" => 3, ), "meta_title"=>array( "db_field"=>"meta_title", "friendly"=>"Titulek META", "isLang" => 1, "input_size" => 30, ), "meta_description"=>array( "db_field"=>"meta_description", "friendly"=>"Popisek META", "isLang" => 1, "input_size" => 30, ), "meta_keywords"=>array( "db_field"=>"meta_keywords", "friendly"=>"Klíčová slova META", "isLang" => 1, "input_size" => 40, ), "link_rewrite"=>array( "db_field"=>"link_rewrite", "friendly"=>"Friendly URL", "isLang" => 1, "input_size" => 30, ), "id_manufacturer"=>array( "db_field"=>"id_manufacturer", "friendly"=>"Vyrobce", "isLang" => 0, "input_size" => 2, ), "id_supplier"=>array( "db_field"=>"id_supplier", "friendly"=>"Prodejce", "isLang" => 0, "input_size" => 2, ), "description_short"=>array( "db_field"=>"description_short", "friendly"=>"Popis kratky", "isLang" => 1, "input_size" => 30, Link to comment Share on other sites More sharing options...
IVANH83 Posted February 18, 2010 Author Share Posted February 18, 2010 Can you attach your php file? pls, tnx Link to comment Share on other sites More sharing options...
milan77 Posted February 18, 2010 Share Posted February 18, 2010 OK, check attachment massupdate.phpFetching info... Link to comment Share on other sites More sharing options...
outlet.ee Posted February 20, 2010 Share Posted February 20, 2010 I see manufacturer id fields etc in the code but these are not displayed when using your script. Any idea what's wrong? Link to comment Share on other sites More sharing options...
milan77 Posted February 20, 2010 Share Posted February 20, 2010 I don't know :-(But...What version of Presta do you have? Link to comment Share on other sites More sharing options...
outlet.ee Posted February 20, 2010 Share Posted February 20, 2010 I have 1.2.5. Link to comment Share on other sites More sharing options...
IVANH83 Posted February 20, 2010 Author Share Posted February 20, 2010 i tested on 3250 products it didnt save changes ... i will try to see what is wrong ... Link to comment Share on other sites More sharing options...
SmartiesKiller Posted February 22, 2010 Share Posted February 22, 2010 getting this error when trying to put your file C:\wamp\www\classes\Module.php(325) : eval()'d code on line 350any idea ? Link to comment Share on other sites More sharing options...
IVANH83 Posted February 22, 2010 Author Share Posted February 22, 2010 yes that is pharse error ... pls see this post ... http://www.prestashop.com/forums/viewthread/14679/P135/#131021 Link to comment Share on other sites More sharing options...
Arold Posted March 27, 2010 Share Posted March 27, 2010 Hello How to add this in massupdate.phpi want to shange the text in thisDisplayed text when in-stock: Displayed text when allowed to be back-ordered:Regards Link to comment Share on other sites More sharing options...
SmartiesKiller Posted March 31, 2010 Share Posted March 31, 2010 any chance to see a pagination for people who have more than 1000 products ? Link to comment Share on other sites More sharing options...
Recommended Posts