john@dragoncomputers Posted April 25, 2019 Share Posted April 25, 2019 HI Everyone Very simple question so I hope one of you guys can help?? How can I default the option in Prestashop 1.7 Display condition on product page to be yes for all products. I have imported 21000 items and could not find an import switch so to speak and cannot go through all 21000 lines and switch it on thanks in advance Link to comment Share on other sites More sharing options...
Rolige Posted April 25, 2019 Share Posted April 25, 2019 Hello: The field in product table in database is "condition". The fastest way is to update this field value directly in database with a simple query. Regards Link to comment Share on other sites More sharing options...
john@dragoncomputers Posted April 26, 2019 Author Share Posted April 26, 2019 HI Thanks for the reply when you say a simple query? will that need coding knowledge as I am a novice to this. If I change the Display condition column in product table will it then show the condition on the product on the front end or will i need to change any other fields Where can i get information on writing the query, I can access my D/B using PHP admin Link to comment Share on other sites More sharing options...
musicmaster Posted April 27, 2019 Share Posted April 27, 2019 The condition field is about 'new' or 'refurbished'. It is unclear whether you need this or the visibility field (or yet another field). And you should set it both in the ps_product and ps_product_shop tables. I strongly advise you to hire someone to do this for the first time (you can then later do it yourself). Or at least make a good backup before you start. 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