ludlogan Posted December 18, 2018 Share Posted December 18, 2018 Salve a tutti, nel dettaglio di un ordine in basso vi è la possibilità di aggiungere nuovi prodotti cercandoli tramite il nome prodotto nel campo che si autocompleta suggerendo i vari risultati (vedete l'allegato per capire dove). Io vorrei poter cercare anche il codice prodotto o male male utilizzare solo il codice per crecare anziché il nome. Qualcuno sa dirmi come fare?(versione prestashop 1.6.0.11) Link to comment Share on other sites More sharing options...
Haumea Posted December 18, 2018 Share Posted December 18, 2018 Devi modificare il codice. Non ho il codice davanti adesso ma credo sia la funzione searchProduct in ajax.php. Devi modificare il file php affinché prendi in considerazione il numero anziché il nome. Link to comment Share on other sites More sharing options...
ludlogan Posted December 19, 2018 Author Share Posted December 19, 2018 Grazie mille Haumea ho risolto alla grande aggiungendo alla select il campo reference adesso è possibile cercare per codice e per nome! Buone feste!! 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