CutCosmetics Posted July 31, 2017 Share Posted July 31, 2017 HelloIn 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 Link to comment Share on other sites More sharing options...
NemoPS Posted August 2, 2017 Share Posted August 2, 2017 What is the upc field set to?I take it as saving from the first page (information) works? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now