Prestashop v1.4.x AdminImport changes to help with image uploads.

Author Mike West on September 9, 2011 | Print | Bookmark

This little tip will make it much easier for you to copy images using PrestaShop's import engine. With the least amount of steps. Open admin/tabs/AdminImport.php file with your favorite editor.

Find at approximately line 78:

$this->entities = array_flip(array($this->l('Categories'), $this->l('Products'),

Change to:

$this->entities = array_flip(array($this->l('Products'), $this->l('Categories'),

Find at approximately line 1255:

uasort

Change to:

asort

All done, now when you go to import images into Prestashop, everything in the first Import page will automatically set and all you'll have to do is click the Next Step button. Notice the yellow highlighted area:

First Import Page

 

With the configuration saved on the next page all you have to do is hit Load and Import CSV data button.

See Next >>

Was this article helpful?

Yes No

Category: STCtoPresta Getting Started

Last updated on November 14, 2011 with 217 views