Top sellers

  • Delete Orders
    Delete Orders

    Enable the option to delete orders in admin page -> orders Also you...

    $0.00
  • CoolShare
    CoolShare

    Add a social bookmarks with mouse over animation.

    $0.00
  • Categories image
    Categories image

    This module allows you to display the block in the category, but with...

    $0.00
  • Mass price update
    Mass price update

    This module allows you to update quantity or percentage, the prices of...

    $0.00

Recent orders (+)

Massive Custom Fields Evolution

Received: 08/19/2017 09:13:09
Customer: jean pierre
Send to: la seyne sur mer, France
Order value:$37.00
View all ->
PrestaShop Quick service failure solution - Nº of errors to fix : 2, Priority : Normal

Received: 08/20/2017 14:18:49
Customer: Aurelio
Send to: Benaguacil, Spain
Order value:$20.00
View all ->
PrestaShop site speed optimization

Received: 08/01/2017 18:55:31
Customer: Juan
Send to: Playa Honda, Spain
Order value:$100.00
View all ->
PrestaSpeed

Received: 07/29/2017 14:19:52
Customer: Sahab
Send to: Dubai, United Arab Emirates
Order value:$55.00
View all ->
Massive Custom Fields Evolution

Received: 07/29/2017 13:45:08
Customer: Javier
Send to: lerida, Spain
Order value:$37.07
View all ->

Update products with 0 stock when Import via CSV

In many cases CSV want to update the stock of products by the importer PrestaShop. The problem usually arises when we want to update products or combinations with the value "0". PrestaShop prevents actualizemos amounts to "0", so we have to resort to a modification to update us products with the value of stock.

We'll have to open the "controllers/admin/AdminImportController.php" file

Seek public function productImport function (), and within it, this line

and eliminate the section "&& (int) $ product-> quantity"

With this we can update products with stock 0 from our CSV

But if we update product combinations, we need to modify another line in the same file. Within the attributeImport (function), we seek:

and replaced by:


With this, we should update products with stock "0".

We can also create an override of the class AdminImportController.php not lose it when you upgrade.