Quick updates是個非常有用的插件,可以快速更改産品信息,但是我最喜歡的是他的複制功能。畢竟對于産品站來講,很多産品的信息相差不大,所以完全可以批量複制後再作些小的修改就可以了。默認的一次最多可以複制10個。一定有象我一樣的菜鳥希望一次複制更多,100個,500個,10000個…… 其實方法很簡單,小小修改下代碼就OK了。打開quick_updates.php{admin文件夾裏},找到代碼: $array[] = array(‘id’ => 0,’text’ => ‘0x’); $array[] = array(‘id’ => 1,’text’ => ‘1x’); $array[] = array(‘id’ => 10,’text’ => ‘10x’); 修改爲你想要的複制個數,比如: $array[] = array(‘id’ => 0,’text’ => ‘0x’); $array[] = array(‘id’ => 1,’text’ => ‘1x’); $array[] = array(‘id’ => 10,’text’ => ‘10x’); $array[] = array(‘id’ => 20,’text’ => ‘20x’); $array[] = array(‘id’ => 50,’text’ => ‘50x’); $array[] = array(‘id’ => 100,’text’ => ‘100x’); $array[] = array(‘id’ => 200,’text’ => ‘200x’); $array[] = array(‘id’ => 500,’text’ => ‘500x’); $array[] = array(‘id’ => 1000,’text’ => ‘1000x’);
过quick_updates大批量复制产品
最新推荐文章于 2024-04-20 12:53:05 发布