wasimk716 Posted August 1, 2017 Share Posted August 1, 2017 I need to add a new condition to products there are only three condition (New, Used, Refurbished) and i want to add HP Renew. i made changes to the following, 1. edit and add in db enum - table ps_product_shop & ps_product 2. in ~/admin/themes/default/temlapte/controller/products/informations.tpl 3. in ~/themes/you_theme_name/product.tpl 4. in ~/classes/Product.php 5. in ~/modules/blocklayered/blocklayered.php it worked in the back end but when i refresh the website the condition doesn't appear there, Kindly please check it out the images i have attached. i seriously need your help to guide me fix this, thank you Link to comment Share on other sites More sharing options...
Steve Joms Posted August 2, 2017 Share Posted August 2, 2017 Hi Wasimk, Maybe just check the product.tpl and product.php trace there on how the code gets the value for product condition. Link to comment Share on other sites More sharing options...
wasimk716 Posted August 2, 2017 Author Share Posted August 2, 2017 I have attached the product.php file and product.tpl image please tell me which lines i have to make changes, kindly please share the code here so i can replace what's missing. i will be very grateful. thank you product.php file and produc.tpl image is attached: Product.php Link to comment Share on other sites More sharing options...
Steve Joms Posted August 2, 2017 Share Posted August 2, 2017 Hi Wasimk716, I tried now to immitate what you do as per my checking the value of test is not saving on DB. You can try to check on your end if we have the same, select the additional condition you put which is "test" if it will go save on DB Thanks! 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