Jump to content

The upc field is invalid error when i update a price of item


Recommended Posts

Hello
In a function it is done the update of the prices by the following queries:
...
$ QueryUpdate = "UPDATE` "._DB_PREFIX _." Product` SET price = $ newprice where id_product = $ id_prodcut ";
$ UpdateProductShop = "UPDATE` "._DB_PREFIX _." Product_shop "SET price = $ newprice where id_product = $ id_prodcut";
Db :: getInstance () -> Execute ($ queryUpdate);
Db :: getInstance () -> Execute ($ updateProductShop);
...
The update is done but when I want to change the price manually the following error is displayed: The upc field is invalid.
How do I solve this problem? Thank you

post-1377593-0-50324400-1501494010_thumb.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...