Jump to content

webmachine

Members
  • Posts

    14
  • Joined

  • Last visited

Profile Information

  • First Name
    Riccardo
  • Last Name
    Oberta

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

webmachine's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Ciao a tutti, sul mio sito ho un menù le quali voci rimandando alle pagine di alcune categorie, quindi vengono mostrati i prodotti appartenenti alla categoria selezionata. Tutto funzionava fino a 3 giorni fa, ora le pagine delle categoria non si caricano o meglio se cliccate caricano all'infinito, senza che la sessione cada, semplicemente caricano e non si vedono. Come posso risolvere? Grazie Mille
  2. Hi, I found $customer_access, the file says this: /** @var bool If set to false, customer cannot view the current category. */ public $customer_access = true; Now... Where is set $customer_access ? What is?
  3. Hi, what do you mean? Where I can check? Why there is this category problem? How can I solve? Thank you
  4. Ok, I checked... The user have a group but when I create user with my form it can't see category, if I go to Customer--> on BO, open the user created and click SAVE... The user can see the category. On db the only field that change after saving is Password. Password before saving: 17b6c299ef10e8d9f1a5f455010ee710 Password afert saving: $2y$10$YI.BuNSyb.LMvPba.4c/DucgJEXpFNtNg2rS/18ZHpp52UU2/GZhi PS crypt the psw again... Why? How can I crypt with the same method But in both cases the user can login, the password "change" but remain the same for PS.
  5. No, the customers are all in the same group... But if I create the suer with my form it doesn't work and if I use PrestaShop all is fine. I'll send you ps_customer difference from user created with my form and with prestashop. Do you need also my registration code?
  6. Sometimes the payment fail and PS show and error. But the user that I created with my method can't see category as attached, the user that I create trought PS form in BackOffice don't have this problem. The red message says "You don't have access to this category"
  7. Hi, Thank you for your answer. I checked, but I can't understand how ps generate it... At line 242 you can see this: $this->secure_key = md5(uniqid(rand(), true)); But if I insert this string into my personal code doesn't work for Prestashop... This sim a random string in MD5... How prestashop check is correct if is random?
  8. Ciao, assegna a questi due campi una classe o un ID nel file HTML, poi in global.css oppure nel file in cui vengono trattati questi css potrai aggiungere le regole che desideri, per modificare lo stile. Per aiutarti nel'individuare i file css puoi usare lo strumento sviluppatore del tuo browser.
  9. Hello to all, I created a user registration form for the BackOffice that records, in fact, users and goes to compile also other personal tables in the database. Now I find myself with a problem, the scure_key field in the ps_customer table. How can I generate the string secure_key? I was hoping for something like the password that is generated by encrypting in MD5 the queuing of COOKIE_KEY + Password but ... apparently not. It seems that without this key the user can not make orders, in fact by mistake. I await your thank you so much PS version: 1.7
  10. Ciao a tutti, ho creato un form di registrazione utenti per il BackOffice che registra, appunto, gli utenti e va a compilare anche delle altre tabelle personali nel DataBase. Ora mi ritrovo però con un problema, il campo scure_key nella tabella ps_customer. Come posso generare la stringa secure_key? Speravo fosse qualcosa tipo la Password che viene generata criptando in MD5 l'accodamento di COOKIE_KEY + Password ma... a quanto pare no. Pare che senza questa chiave l'utente non possa fare ordini, infatti da errore. Attendo vostre, grazie mille Versione PS: 1.7
  11. Ciao a tutti, ho necessità di creare uno Shop un po' particolare. Gli utenti non possono registrarsi ma vengono inseriti dal BackOffice da un agente, dopodichè possono effettuare il Login dal sito. Ho necessità però di rendere come campi di Login NUMERO DI TELEFONO e PASSWORD, per evitare di andare a fare cambiamenti in giro nel db vorrei semplicemente modificare il campo input in login eliminando il "controllo" sulla tipologia di testo inserito, in modo tale che venga comunque convalidato il Numero di Telefono senza che esca l'errore "Questa non è una email". Mi sono recato nel file login-form.tpl (Themes>Nome del Tema>_partials>login-form.tpl) Dentro i tag <form> </form> c'è questo che va a generare i campi del Login Form, ma non riesco a capire dove va a prenderli ovvero dove posso agire per la modifica? {block name='login_form_fields'} {foreach from=$formFields item="field"} {block name='form_field'} {form_field field=$field} {/block} {/foreach} {/block} Sapreste aiutarmi ad individuare dov'è l'origine di questa generazione? Dove posso agire per modificare quando mi interessa? Ps: Se ci fosse qualcuno così disponibile ad aiutarmi dovrei anche implementare tale funzione nel BackOffice per la registrazione dei nuovi utenti, in quanto l'utente viene registrato con NUMERO DI TELEFONO (al posto della mail) e PASSWORD. PPS: No, non posso acquistare un Plugin... Grazie Mille, Buona Giornata Prestashop V. 1.7
  12. Ciao a tutti, vorrei creare uno Shop in cui gli utenti hanno la possibilità di registrarsi ma ho necessità di avere dei dati che il normale form di registrazione non offre. Come posso fare per aggiungere dei campi personalizzati? A me servirebbero Nome del Titolare, Codice Seriale, Indirizzo Produttore, ma credo che questo non abbiamo molta importanza Inoltre vorrei impedire all'utente di modificare questi dati una volta inseriti all'interno dell'account. Basterebbe modificare il codice HTML agendo sugli input? Spero tanto rispondiate, grazie infinite in anticipo Buona Serata
  13. Ciao a tutti, Vorrei cambiare l'ordine dei prodotti in modo che vengano visualizzati nella Home secondo un mio ordine personalizzato e non quelli di default crescente, decrescente etc.. Non sono riuscito a trovare il modo per farlo se non quello di cancellare i prodotti e ricrearli ma è una cosa improponibile visto che ho circa 20 articoli con combinazioni. Sapreste darmi una soluzione oppure consigliarmi qualche add... Uso prestashop 1.6.1.4 Grazie Mille a tutti, A presto.
×
×
  • Create New...