Jump to content

How to put same price in all products


Recommended Posts

There used to be only a product table. But in version 1.5 Prestashop went multi-shop and introduced the product_shop table. As far as I know the product table has no more any real function and is only there for the case some 1.4 modules might look for it.

Link to comment
Share on other sites

  • 1 month later...

I have a problem i try to run this query:

Update ps_product_shop as proshop 
inner join ps_product as pro
set proshop.PRICE = 40, pro.PRICE = 40
where pro.REFERENCE like "%b%"

But i have this error:

debug : #1317 - Query execution was interrupted

Do you know why is it??

Link to comment
Share on other sites

It was my fault, the correct query is this:

 

Update ps_product_shop as proshop 
inner join ps_product as pro on pro.id_product = proshop.id_product
set proshop.PRICE = 40, pro.PRICE = 40
where pro.REFERENCE like "%b%"
Link to comment
Share on other sites

×
×
  • Create New...