vietnam Posted June 20, 2012 Share Posted June 20, 2012 (edited) I need to make a lightweight version of Admin products I don`t need to lose 3 to 5 seconds to load a lot of unnecessary stuff. For example i will never change the Category`s because the categories are added when i import once a week the products. I don`t need to change the price, because is imported the same. I have attached a file with some of the unnecessary fileds, but i cannot figure it where can i remove the warning, because now when i try to save i get an error, because it tells me that i cannot have a product without a default category. And i don`t need to chenge the category, so i don`t need for him to load, and then save. I only need to add description, manufacturer, images and features to the products. The AdminProducts.pphp attached is for the latest prestashop 1.4.8.2 AdminProducts.php Edited June 20, 2012 by vietnam (see edit history) Link to comment Share on other sites More sharing options...
CartExpert.net Posted June 21, 2012 Share Posted June 21, 2012 Hi. If you remove those elements, on update you will lose their values or be set to 0 (in case of the price). Even if you do not want to display them, you must have their values sent to the PHP file, so you should place their values in a hidden input field. <input type="hidden" name="[NAME]" value="[VALUE]"/> Regards. Robin. The CartExpert Team 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