bestsell Posted August 14, 2015 Share Posted August 14, 2015 Salve e buon giorno a tutti ... Come da titolo, Scrivere accanto alle taglie non disponibili la dicitura " Non disponibile" .... Ho creato un nuovo post perchè cercando non ho trovato molto a riguardo... Allego immagine del blocco prodotto che ho adesso e come si vede nell'immagine mi da tutte le taglie e tutte le varianti di colore e se si seleziona un colore o una taglia che non è disponibile appare la dicitura " Il prodotto non esiste in questo modello. Scegline un altro. ". Come posso risolvere il problema? Grazie Link to comment Share on other sites More sharing options...
Giorgio M. Posted August 14, 2015 Share Posted August 14, 2015 E' corretto che appaia, puoi modificare il testo se vuoi intervenendo sulle traduzioni LOCALIZZAZIONE -> TRADUZIONI naturalmente ti converrebbe utilizzare come combinazione predefinita una che è disponbile Link to comment Share on other sites More sharing options...
bestsell Posted August 14, 2015 Author Share Posted August 14, 2015 Grazie per la celere risposta... Si è corretto che inserisca quella dicitura. Ma essendo un e-commerce per abbigliamento sarebbe stato più comodo poter inserire la dicitura "Non disponibile" accanto alla taglia da scegliere. Allego immagine per chiarire.... Per quanto riguarda la traduzione.. Grazie , li ho riscontrato un altro problema dovuto al mio server che risolverò successivamente. Gianp. Link to comment Share on other sites More sharing options...
Giorgio M. Posted August 14, 2015 Share Posted August 14, 2015 Problema max_input_var da portare almeno a 8000 (meglio 10mila) Se hai accesso al file php.ini puoi fare tu la modifica. Per ottenere la scritta come mostri nell'immagine dovresti metterla tu a mano sulla descrizione dell'attributo, ma questo implica che fai un attributo taglia specifico per ogni prodotto. Link to comment Share on other sites More sharing options...
bestsell Posted August 14, 2015 Author Share Posted August 14, 2015 No al momento non ho accesso al file php.ini Per descrizione dell'attributo intendi il " Valore? Link to comment Share on other sites More sharing options...
Giorgio M. Posted August 14, 2015 Share Posted August 14, 2015 Si esattamente, ma mi sembra una strada non percorribile se hai molti articoli. Link to comment Share on other sites More sharing options...
bestsell Posted August 14, 2015 Author Share Posted August 14, 2015 Concordo .. avevo in mente qualcosa tipo: il Valore di un attributo collegata alla variabile delle quantità, e quando le quantità sono inferiori a 1 Aggiunge la dicitura (Non disponibile) al valore Che ne dici ? Link to comment Share on other sites More sharing options...
Giorgio M. Posted August 14, 2015 Share Posted August 14, 2015 non so... in sincerità mi limiterei ad utilizzare la funzione base di PrestaShop modificando testo e se vuoi il colore Link to comment Share on other sites More sharing options...
bestsell Posted August 14, 2015 Author Share Posted August 14, 2015 Ok proverò a modificare la traduzione "Il prodotto non esiste in questo modello. Scegline un altro. ". Ok risolto il problema con "max_input_vars " inserendo il file .user.ini con riga max_input_vars = 10000 bypassato il php.ini Ora però, al momento del salvataggio mi da l' errore ForbiddenYou don't have permission to access /adminstep/index.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Questione di permessi? Link to comment Share on other sites More sharing options...
Giorgio M. Posted August 14, 2015 Share Posted August 14, 2015 Ti sta dicendo che non puoi pensare di baipassare se non hai accesso al file php.ini chiedi all'hosting di farlo per te Link to comment Share on other sites More sharing options...
bestsell Posted August 14, 2015 Author Share Posted August 14, 2015 Perfetto!! Ma il blocco che gestisce il prodotto come si chiama! Link to comment Share on other sites More sharing options...
Giorgio M. Posted August 14, 2015 Share Posted August 14, 2015 intendi per la traduzione? dovresti poterla fare anche senza la modifica del file php.ini è sulle traduzioni del front-office a quelle accedi anche con max_input_var = 1000 Link to comment Share on other sites More sharing options...
bestsell Posted August 14, 2015 Author Share Posted August 14, 2015 Se opero attraverso il Bo - localizzazione - traduzione non accede a nessuna traduzione Fin ora ho fatto tramite ftp quindi -modules -modulo interessato - translations e quindi il file - it.php ma il modulo che gestisce il prodotto (quello nell'immagine) non sono riuscito a trovarlo dove posso trovarlo? Link to comment Share on other sites More sharing options...
Giorgio M. Posted August 14, 2015 Share Posted August 14, 2015 Non è un modulo, è il file php nella cartella translation Ma secondo me ci accedi da localizzazione->traduzioni devi solo allargare la lista una volta che sei entrato Link to comment Share on other sites More sharing options...
bestsell Posted August 14, 2015 Author Share Posted August 14, 2015 Dal Bo l'ho trovato purtroppo non me lo fa modificare come vedi dalle immagini. Però da qualche file stanno scritte queste info! Link to comment Share on other sites More sharing options...
Giorgio M. Posted August 14, 2015 Share Posted August 14, 2015 Si sono quelle da correggere! 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