Jump to content

Creazione Promozioni


luca.lb

Recommended Posts

Ciao.

Io ho trovato un modulo "Saldi e promozioni" ma non sono riuscito a farlo funzionare.
Trovo questo errore:

Errore sistema (Tab->name è vuoto per la lingua predefinita)

Prova anche tu e facci sapere se è un problema mio oppure no.

Il modulo si chiama "sales and discounts" e lo trovi qui:
http://www.henribaeyens.com/10ver/filez/prestashop_module_salesanddiscounts

Link to comment
Share on other sites

Ciao.

Io ho trovato un modulo "Saldi e promozioni" ma non sono riuscito a farlo funzionare.
Trovo questo errore:

Errore sistema (Tab->name è vuoto per la lingua predefinita)

Prova anche tu e facci sapere se è un problema mio oppure no.

Il modulo si chiama "sales and discounts" e lo trovi qui:
http://www.henribaeyens.com/10ver/filez/prestashop_module_salesanddiscounts


Imposta l'inglese come lingua di default (predefinita) del tuo negozio; quindi installa il modulo e vedrai che non ti darà più l'errore da te citato.
Detto questo, credo che non sia il modulo che sta cercando luca.lb

ciao
Link to comment
Share on other sites

Io ho provato ad installare il modulo, sia il salesanddiscounts sia productdispatch, ed ho modificato la lingua predefinita in inglese, ma comunque da lo stesso errore, almeno su Prestashop 1.2.5 --->Hack attempt (Tab->name is empty for default language).
Qualcuno sa come risolvere ???

Link to comment
Share on other sites

Grazie del consiglio, fatto....persona molto disponibile e gentile, posto la soluzione in modo che possa esser utile anche ad altri utenti che hanno riscontrato lo stesso mio problema, sono da cambiare 2 righe di codice, perciò molto semplice.

Uninstall the module, Open salesanddiscounts.php and change the install function :

 function install() {
     if (!parent::install() ||
              !Configuration::updateValue('MOD_SALESANDDISCOUNTS_TITLE', array(intval(Configuration::get('PS_LANG_DEFAULT')) => 'Sales & Discounts')) ||
                  !$this->installModuleTab('AdminSalesanddiscounts', array(intval(Configuration::get('PS_LANG_DEFAULT')) => 'Sales & Discounts'), 1))
          return false;
      return true;
 }

and reinstall.
Do the same for the other module.

 function install() {
     if (!parent::install() ||
              !Configuration::updateValue('MOD_PRODUCTDISPATCH_TITLE', array(intval(Configuration::get('PS_LANG_DEFAULT')) => 'Product Dispatch')) ||
                  !$this->installModuleTab('AdminProductDispatch', array(intval(Configuration::get('PS_LANG_DEFAULT')) => 'Product Dispatch'), 1))
          return false;
      return true;
 }



IMPORTANT: The name of the module in the catalog tab will be 'Sales & Discounts' but if you prefer having it in italian then change it right here (in the code)

Autore dei moduli: [email protected]

Un grazie e Buone Feste a tutti voi.

Link to comment
Share on other sites

Grazie del consiglio, fatto....persona molto disponibile e gentile, posto la soluzione in modo che possa esser utile anche ad altri utenti che hanno riscontrato lo stesso mio problema, sono da cambiare 2 righe di codice, perciò molto semplice.

Uninstall the module, Open salesanddiscounts.php and change the install function :

 function install() {
     if (!parent::install() ||
              !Configuration::updateValue('MOD_SALESANDDISCOUNTS_TITLE', array(intval(Configuration::get('PS_LANG_DEFAULT')) => 'Sales & Discounts')) ||
                  !$this->installModuleTab('AdminSalesanddiscounts', array(intval(Configuration::get('PS_LANG_DEFAULT')) => 'Sales & Discounts'), 1))
          return false;
      return true;
 }

and reinstall.
Do the same for the other module.

 function install() {
     if (!parent::install() ||
              !Configuration::updateValue('MOD_PRODUCTDISPATCH_TITLE', array(intval(Configuration::get('PS_LANG_DEFAULT')) => 'Product Dispatch')) ||
                  !$this->installModuleTab('AdminProductDispatch', array(intval(Configuration::get('PS_LANG_DEFAULT')) => 'Product Dispatch'), 1))
          return false;
      return true;
 }



IMPORTANT: The name of the module in the catalog tab will be 'Sales & Discounts' but if you prefer having it in italian then change it right here (in the code)

Autore dei moduli: [email protected]

Un grazie e Buone Feste a tutti voi.



Ciao ho provato a fare la modifica al modulo salesanddiscount ma in BO->moduli ma da questo errore

Parse error: syntax error, unexpected '?' in /home/mhd-01/www.xxxxxxxx/htdocs/prestashop/classes/Module.php(325) : eval()'d code on line 1

Link to comment
Share on other sites

si ho inserito questo

function install() {
     if (!parent::install() ||
              !Configuration::updateValue('MOD_SALESANDDISCOUNTS_TITLE', array(intval(Configuration::get('PS_LANG_DEFAULT')) => 'Sales & Discounts')) ||
                  !$this->installModuleTab('AdminSalesanddiscounts', array(intval(Configuration::get('PS_LANG_DEFAULT')) => 'Sales & Discounts'), 1))
          return false;
      return true;
 }



nel file php

saresti così gentile da passarmi il tuo file

Link to comment
Share on other sites

  • 4 weeks later...

Per fare sconti su quantità si può già fare tramite prestashop, andare su catalogo nuovo prodotto una volta creato il prodotto e salvato si aprono altra cartelle(di fianco ad immagini), troverete sconti e potrete segnare sconto su quantità prodotto...

Link to comment
Share on other sites

  • 9 months later...

Ciao ragazzi!.
Volevo sapere se era possibile, o meglio se esisteva, un modulo per la creazione di offerte per bundle.
Mi spiego meglio...
Io acquisto un cellulare.
Cliccando sul prodotto, sotto alla scheda del prodotto mi appaiono delle combinazioni di cellulare-auricolare, cellullare-custodio-caricabatteria da auto, etc etc con prezzi scontati per il pacchetto.
E' possibile fare 'sta cosa su prestashop?
Esiste un modulo adeguato.
In pratica stiamo semplicemente parlando di un bundle.
Grazie a tutti.

Link to comment
Share on other sites

Già è caricato nella scheda prodotto, puoi decidere di creare un pacchetto del prodotto ed assegnargli un prezzo esempio, nel tuo negozio hai 3 prodotti 1 telefono, 2 cuffie, 3 custodia, puoi realizzare un pacchetto contenente i tre ed assegnare il prezzo che vuoi. nella scheda prodotto comparirà la quantità di prodotti che ci sono nel pacchetto e la descirzione dei prodotti divisa...

Link to comment
Share on other sites

  • 10 months later...

Funziona grazie mille e buon Natale

 

Salve,

il modulo Sales & Discount ti continua a funzionare con la versione 1.4 di prestashop? Io l'ho installato ma non va. Non aggiorna i dati nelle schede prodotti. Ho provato a contattare l'autore ma mi ritornano indietro le mails ... forse ha chiuso l'indirizzo di posta qui riportato.

Mi fate la gentilezza di farmi sapere?

Vi ringrazio.

Antonio

Link to comment
Share on other sites

  • 3 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...