KolfKord Posted May 13, 2013 Share Posted May 13, 2013 Hello to all, I would put a code that will automatically fill in reference to the creation of a new product ... But I do not know which file to modify! I have version 1.5.4.0 of prestashop ... Link to comment Share on other sites More sharing options...
vekia Posted May 13, 2013 Share Posted May 13, 2013 hello what you exactly expect? You want to create some script for update reference numbers or what? By default, when you creating a product in back office - you have got ability to put own reference number in reference field. Link to comment Share on other sites More sharing options...
KolfKord Posted May 13, 2013 Author Share Posted May 13, 2013 I wish that every new product that is part of the reference automatically appear EU [Product ID] ex. EU1230 Link to comment Share on other sites More sharing options...
vekia Posted May 13, 2013 Share Posted May 13, 2013 by default this isn't possible, all you have to do is to modify the product class (core modifications) Link to comment Share on other sites More sharing options...
KolfKord Posted May 14, 2013 Author Share Posted May 14, 2013 I found this topic ch efarebbe in my case ... http://www.prestashop.com/forums/topic/93099-resolu-generateur-numero-reference/page__p__560458__hl__generateur__fromsearch__1 But I can not figure out where to find AdminProducts.php since I have 1.5.4.0 ... Link to comment Share on other sites More sharing options...
vekia Posted May 14, 2013 Share Posted May 14, 2013 this file is available here: Controllers / admin / AdminProductsController.php Link to comment Share on other sites More sharing options...
KolfKord Posted May 14, 2013 Author Share Posted May 14, 2013 this file is available here: Controllers / admin / AdminProductsController.php Here it is! I could not find it thanks! But now it is different from what it was in that place ... Where can I change to make sure that every new product has Reference: EU [product_id]? Please help ... Link to comment Share on other sites More sharing options...
KolfKord Posted May 15, 2013 Author Share Posted May 15, 2013 (edited) Nothing...? Then I also have another problem ... Sull'eCommerce there are 1400 products ... I can not do to put manually the reference for 1400 products ... I tried to change to the database, see it correctly in the product, but if I seek in the search form prestashop standard of the ID is not me find it! If I insert it instead panel product is ... Edited May 15, 2013 by KolfKord (see edit history) Link to comment Share on other sites More sharing options...
KolfKord Posted May 29, 2013 Author Share Posted May 29, 2013 no one can help me? ... 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