siavash.kavousi Posted February 21, 2015 Share Posted February 21, 2015 Hi When in products section I add some products with barcode, How can I search in products with the barcode? How can I assign a 15-digits number to a customer?(I mean like first name, last name, ... and 15-digits number!) Link to comment Share on other sites More sharing options...
NemoPS Posted February 23, 2015 Share Posted February 23, 2015 For the first one, the default search should look into that as well. Depending on to which field you apply it, of course, you might need to create a separate module that only looks for that, and nothing else. As for the second one, there are plenty of fields already, but if you don't want to use any of them, then you can try applying this tut of mine: http://nemops.com/new-customer-address-fields-prestashop/ But use it with the customer class instead 1 Link to comment Share on other sites More sharing options...
siavash.kavousi Posted March 1, 2015 Author Share Posted March 1, 2015 For the first one, the default search should look into that as well. Depending on to which field you apply it, of course, you might need to create a separate module that only looks for that, and nothing else. As for the second one, there are plenty of fields already, but if you don't want to use any of them, then you can try applying this tut of mine: http://nemops.com/new-customer-address-fields-prestashop/ But use it with the customer class instead for the first one, the default search in my one is not going to look into it!!! I tried a lot but nothing... and for the second one, I've done everything you said in the tutorial but in the end I didn't see any change in the front office (I check everything very carefully) My Prestashop version is 1.5.4.1 and in persian language Link to comment Share on other sites More sharing options...
NemoPS Posted March 2, 2015 Share Posted March 2, 2015 hm, very weird, it should be searching in that as well. What is the weight it the search preferences? You can try rising it.As for the other, are you sure you cleared your cache? 1 Link to comment Share on other sites More sharing options...
Recommended Posts