Emmerre: differenze tra le versioni
Da Webmobili Wiki.
| Riga 24: | Riga 24: | ||
=== Easy Store Web === | === Easy Store Web === | ||
'''PRODUZIONE''' | |||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
<?php | <?php | ||
| Riga 49: | Riga 52: | ||
); | ); | ||
?> | ?> | ||
</syntaxhighlight> | |||
'''TEST''' | |||
<syntaxhighlight lang="php"> | |||
<?php | |||
return array( | |||
"environment" => "test", // "production" | |||
"sorgente-dati" => "esw", // valori esw o designbest o designbest-esw | |||
// Configurazione esw | |||
"esw_api-domain" => "https://easyapi6.eswportal.it", | |||
"esw_negoziocode" => "Attivo 2", | |||
"esw-codicemagazzino" => ["MAG_10","MAG_11","MAG_23"], | |||
"esw-codicevenditore" => "ONL49554", | |||
"esw-incassi-codice_causale" => "05SLD", | |||
"esw-servizi-codice" => "SE", | |||
"esw-mapping-pagamenti" => ["bacs" => "BON","xpay"=> "CC"], | |||
// Per gestire i clienti che hanno i campi cf, piva e sdi creati con altri plugin | |||
"esw-customer-ordermetadata" => [ | |||
"create" => true, // se true crea i campi customCheckoutFields e li mostra in backoffice | |||
"cf" => "_billing_cf", | |||
"piva" => "_billing_piva", | |||
"sdi" => "_billing_sdi" | |||
], | |||
// TEST | |||
"esw-x-apikey" => "j9MDojFf4EmbznjJvimErUJ4YWJHWlY4N1VTTWYwM2NRZUZOSmc=", | |||
"esw-dbconnection" => "291_EMMERRE_TEST", | |||
); | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Versione attuale delle 10:46, 2 ott 2024
Cliente che ha Woocommerce e vuole l'integrazione con EasyStore.
Come siamo messi
[modifica]Online in produzione.
Credenziali
[modifica]Wordpress
[modifica]- Dominio:
https://www.emmerrearredamenti.com/ - Dominio di Test:
- Username:
MR_admin_Test - Password:
Bt@a6xxzblTQNUj!Zkgu0fNn
FTP
[modifica]Configurare con i seguenti dati
- protocollo :
FTP - host produzione:
ftp.emmerrearredamenti.com - host staging:
- port:
21 - user:
1781739@aruba.it - pass:
viaBerneri20! - Avanzate =>
Easy Store Web
[modifica]PRODUZIONE
<?php
return array(
"environment" => "production",
"sorgente-dati" => "esw", // valori esw o designbest o designbest-esw
// Configurazione esw
"esw_api-domain" => "https://easyapi6.eswportal.it",
"esw_negoziocode" => "Attivo 2",
"esw-codicemagazzino" => ["MAG_10","MAG_11","MAG_23"],
"esw-codicevenditore" => "ONL49554",
"esw-incassi-codice_causale" => "05SLD",
"esw-servizi-codice" => "SE",
"esw-mapping-pagamenti" => ["bacs" => "BON","xpay"=> "CC"],
// Per gestire i clienti che hanno i campi cf, piva e sdi creati con altri plugin
"esw-customer-ordermetadata" => [
"create" => true, // se true crea i campi customCheckoutFields e li mostra in backoffice
"cf" => "_billing_cf",
"piva" => "_billing_piva",
"sdi" => "_billing_sdi"
],
//PROD
"esw-x-apikey" => "j9MDojFf4EmbznjJvimErUJ4YWJHWlY4N1VTTWYwM2NRZUZOSmc=",
"esw-dbconnection" => "144_EMMERRE",
);
?>
TEST
<?php
return array(
"environment" => "test", // "production"
"sorgente-dati" => "esw", // valori esw o designbest o designbest-esw
// Configurazione esw
"esw_api-domain" => "https://easyapi6.eswportal.it",
"esw_negoziocode" => "Attivo 2",
"esw-codicemagazzino" => ["MAG_10","MAG_11","MAG_23"],
"esw-codicevenditore" => "ONL49554",
"esw-incassi-codice_causale" => "05SLD",
"esw-servizi-codice" => "SE",
"esw-mapping-pagamenti" => ["bacs" => "BON","xpay"=> "CC"],
// Per gestire i clienti che hanno i campi cf, piva e sdi creati con altri plugin
"esw-customer-ordermetadata" => [
"create" => true, // se true crea i campi customCheckoutFields e li mostra in backoffice
"cf" => "_billing_cf",
"piva" => "_billing_piva",
"sdi" => "_billing_sdi"
],
// TEST
"esw-x-apikey" => "j9MDojFf4EmbznjJvimErUJ4YWJHWlY4N1VTTWYwM2NRZUZOSmc=",
"esw-dbconnection" => "291_EMMERRE_TEST",
);