mathis Posted February 24, 2012 Share Posted February 24, 2012 Hey, i am new to Presta Shop and need some customizing. I added a new field (varchar) to the product table in my database. I modified the template etc. so that the new field is shown on the frontend and that i can edit the value in the backend. All working good! But i cant search for the value of my new field. I know that i have to modify the file Search.php in the classes folder. But I cant make the search saving the values of my new field into the search_word/index tables. I hope someone can explain me which lines have to be modified in order to get the search working. Thanks in advance.. Mathis Link to comment Share on other sites More sharing options...
mathis Posted February 27, 2012 Author Share Posted February 27, 2012 Okay now i know how it works. I just had to use an already existing search weight! Thread can be closed. Link to comment Share on other sites More sharing options...
Dolke Posted February 16, 2015 Share Posted February 16, 2015 Hi, I have the same question. We made custom filed in the BO using Vekias tutorial located here: http://mypresta.eu/en/art/developer/new-field-product-backoffice.htmlAlthough this filed is in the BO and its not displaying to a customer on the front end (its for employees only), we would like its content to be searchable on the front end.What needs to be modified in the search method in order this to work? Thank youDean 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