24/7 U.S. Support – 877-595-4482
One of the problems that comes of having a large inventory is making changes on a large scale. Unfortunately, this is not easily done within the default interface provided by Prestashop. For example, if you need to change all of your inventory pricing by 10%, then you would have to change each item individually. If your inventory items numbered in the hundreds or thousands, then this could quickly become too tedious a task without some type of automation. Fortunately, this can be accomplished using a SQL query. In order to make the query, you will need to have access to the MySQL database using a database client like phpMyadmin (available in the Cpanel interface). The following article will walk you through the process of creating a SQL query to update your entire inventory in the PrestaShop database.

Decease by a fixed amount of currency (code example decreases all prices by 25 cents):
UPDATE ps_product_shop SET price = price-.25
UPDATE ps_product SET price = price-.25
Decrease by a percentage (code example decreases all prices by 25%)
UPDATE ps_product_shop SET price = price / 1.25
UPDATE ps_product SET price = price / 1.25
Increase by a fixed amount of currency (code example increases prices by $1.00)
UPDATE ps_product_shop SET price = price+1.00
UPDATE ps_product SET price = price+1.00
Increase by a percentage (code example increases prices by 10%)
UPDATE ps_product_shop SET price = price*1.10
UPDATE ps_product SET price = price*1.10
In order to see the effect on the prices check out the screenshots below. The screenshots show the increase in price by $1.00:
![]() |
![]() |
| Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
|---|---|---|---|
| Call: |
877-595-4HUB (4482) 757-416-6627 (Intl.) |
Chat: | Click To Chat Now |
Copyright © 2013 Web Hosting Hub - Privacy Policy - Terms of Service