Jump to content

Prestashop the Condition is hidden need help please


wasimk716

Recommended Posts

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
 
 

 

post-1425981-0-05771400-1501612104_thumb.pngpost-1425981-0-40524300-1501612111_thumb.png

Link to comment
Share on other sites

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:

 

 

 

post-1425981-0-95051000-1501643544_thumb.pngProduct.php

 

 

Link to comment
Share on other sites

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

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...