Jump to content

personalizzare fattura pdf


alby

Recommended Posts

esiste qualche manuale o qualcuno che mi sa indicare come poter modificare il layout della fattura in pdf?

 

siccome devo usare ricevute fiscali, da stampare con stampante a getto d'inchiostro o laser, devo utilizzare ricevute fiscali tipo questo facsimile (immagine da internet, non è l'intestazione vera):

 

http://www.nibax.it/SCELTA%20STAMPANTI_file/image013.jpg

 

in pratica, le ricevute fiscali che compro avranno stampato solo il piè di pagina (tutta la parte fiscale e numerazione progressiva prestampata) e tutto il resto dall'intestazione al contenuto dovrà essere stampato dal/nel pdf generato.

 

in pratica, dovrei avere un output della fattura senza:

 

-numero fattura

-mia intestazione (uso il logo per quella)

-dati cliente

 

tutto il resto va mantenuto.

 

qualcuno mi può aiutare?

 

grazie

Link to comment
Share on other sites

Ciao, per modificare il layout devi modificare il file classes/PDF.php

 

Non so se esista un manuale, ma l'ho già fatto per diversi clienti e non è stato troppo complesso. Ho prodotto una versione specifica per chi ha il regime dei minimi, che trovi sul mio sito.

  • Like 1
Link to comment
Share on other sites

nella 1.5 è cambiato il percorso:

 

prima era:

 

/classes/PDF.php

 

ora è

 

/classes/pdf/PDF.php

 

il contenuto del file dovrebbe essere lo stesso, cleoni, ce lo puoi confermare?

 

eccolo:

 

 

<?php

/*

* 2007-2012 PrestaShop

*

* NOTICE OF LICENSE

*

* This source file is subject to the Open Software License (OSL 3.0)

* that is bundled with this package in the file LICENSE.txt.

* It is also available through the world-wide-web at this URL:

* http://opensource.org/licenses/osl-3.0.php

* If you did not receive a copy of the license and are unable to

* obtain it through the world-wide-web, please send an email

* to [email protected] so we can send you a copy immediately.

*

* DISCLAIMER

*

* Do not edit or add to this file if you wish to upgrade PrestaShop to newer

* versions in the future. If you wish to customize PrestaShop for your

* needs please refer to http://www.prestashop.com for more information.

*

* @author PrestaShop SA <[email protected]>

* @copyright 2007-2012 PrestaShop SA

* @version Release: $Revision: 8797 $

* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)

* International Registered Trademark & Property of PrestaShop SA

*/

 

/**

* @since 1.5

*/

class PDFCore

{

public $filename;

public $pdf_renderer;

public $objects;

public $template;

 

const TEMPLATE_INVOICE = 'Invoice';

const TEMPLATE_ORDER_RETURN = 'OrderReturn';

const TEMPLATE_ORDER_SLIP = 'OrderSlip';

const TEMPLATE_DELIVERY_SLIP = 'DeliverySlip';

const TEMPLATE_SUPPLY_ORDER_FORM = 'SupplyOrderForm';

 

public function __construct($objects, $template, $smarty)

{

$this->pdf_renderer = new PDFGenerator((bool)Configuration::get('PS_PDF_USE_CACHE'));

$this->template = $template;

$this->smarty = $smarty;

 

$this->objects = $objects;

if (!($objects instanceof Iterator) && !is_array($objects))

$this->objects = array($objects);

}

 

public function render($display = true)

{

$render = false;

$this->pdf_renderer->setFontForLang('fr');

foreach ($this->objects as $object)

{

$template = $this->getTemplateObject($object);

if (!$template)

continue;

 

if (empty($this->filename))

{

$this->filename = $template->getFilename();

if (count($this->objects) > 1)

$this->filename = $template->getBulkFilename();

}

 

$template->assignHookData($object);

 

$this->pdf_renderer->createHeader($template->getHeader());

$this->pdf_renderer->createFooter($template->getFooter());

$this->pdf_renderer->createContent($template->getContent());

$this->pdf_renderer->writePage();

$render = true;

 

unset($template);

}

 

if ($render)

return $this->pdf_renderer->render($this->filename, $display);

}

 

public function getTemplateObject($object)

{

$class = false;

$classname = 'HTMLTemplate'.$this->template;

 

if (class_exists($classname))

{

$class = new $classname($object, $this->smarty);

if (!($class instanceof HTMLTemplate))

throw new PrestaShopException('Invalid class. It should be an instance of HTMLTemplate');

}

 

return $class;

}

}

 

io purtroppo non sono ancora riuscito a capire un granchè su come e dove modificare

 

ciao

Edited by alby (see edit history)
Link to comment
Share on other sites

non credo proprio che il contenuto sia lo stesso...

In quello vecchio si usava la libreria fpdf in questo invece sono riuscito a trovare il contenuto del pdf della fattura in un file

 

templateinvoice.tpl

 

domani quando sono in ufficio ti dico dove lo puoi trovare

in questo file modificando l'html ti modifichi il layout se invece vuoi modificare quache campo dell'indirizzo aggiungendo o togliendo campi devi andare sul bo esattamente dove attivi il codice fiscale obbligatorio

 

non mi ricordo mi sembra su localizzazione--->nazioni

 

domani ti dico meglio

ciao

Link to comment
Share on other sites

non ho trovato templateinvoice.tpl, ma in /classes/pdf c'è

 

HTMLTemplateinvoice.php, il contenuto è questo:

 

 

 

<?php

/*

* 2007-2012 PrestaShop

*

* NOTICE OF LICENSE

*

* This source file is subject to the Open Software License (OSL 3.0)

* that is bundled with this package in the file LICENSE.txt.

* It is also available through the world-wide-web at this URL:

* http://opensource.org/licenses/osl-3.0.php

* If you did not receive a copy of the license and are unable to

* obtain it through the world-wide-web, please send an email

* to [email protected] so we can send you a copy immediately.

*

* DISCLAIMER

*

* Do not edit or add to this file if you wish to upgrade PrestaShop to newer

* versions in the future. If you wish to customize PrestaShop for your

* needs please refer to http://www.prestashop.com for more information.

*

* @author PrestaShop SA <[email protected]>

* @copyright 2007-2012 PrestaShop SA

* @version Release: $Revision: 8797 $

* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)

* International Registered Trademark & Property of PrestaShop SA

*/

 

/**

* @since 1.5

*/

class HTMLTemplateInvoiceCore extends HTMLTemplate

{

public $order;

public $available_in_your_account = false;

 

public function __construct(OrderInvoice $order_invoice, $smarty)

{

$this->order_invoice = $order_invoice;

$this->order = new Order((int)$this->order_invoice->id_order);

$this->smarty = $smarty;

 

// header informations

$this->date = Tools::displayDate($order_invoice->date_add, (int)$this->order->id_lang);

 

$id_lang = Context::getContext()->language->id;

$this->title = HTMLTemplateInvoice::l('Invoice ').' #'.Configuration::get('PS_INVOICE_PREFIX', $id_lang).sprintf('%06d', $order_invoice->number);

// footer informations

$this->shop = new Shop((int)$this->order->id_shop);

}

 

/**

* Returns the template's HTML content

* @return string HTML content

*/

public function getContent()

{

$country = new Country((int)$this->order->id_address_invoice);

$invoice_address = new Address((int)$this->order->id_address_invoice);

$formatted_invoice_address = AddressFormat::generateAddress($invoice_address, array(), '<br />', ' ');

$formatted_delivery_address = '';

 

if ($this->order->id_address_delivery != $this->order->id_address_invoice)

{

$delivery_address = new Address((int)$this->order->id_address_delivery);

$formatted_delivery_address = AddressFormat::generateAddress($delivery_address, array(), '<br />', ' ');

}

 

$customer = new Customer((int)$this->order->id_customer);

 

$this->smarty->assign(array(

'order' => $this->order,

'order_details' => $this->order_invoice->getProducts(),

'cart_rules' => $this->order->getCartRules($this->order_invoice->id),

'delivery_address' => $formatted_delivery_address,

'invoice_address' => $formatted_invoice_address,

'tax_excluded_display' => Group::getPriceDisplayMethod($customer->id_default_group),

'tax_tab' => $this->getTaxTabContent(),

'customer' => $customer

));

 

return $this->smarty->fetch($this->getTemplateByCountry($country->iso_code));

}

 

/**

* Returns the tax tab content

*/

public function getTaxTabContent()

{

$invoice_address = new Address((int)$this->order->id_address_invoice);

$tax_exempt = Configuration::get('VATNUMBER_MANAGEMENT')

&& !empty($invoice_address->vat_number)

&& $invoice_address->id_country != Configuration::get('VATNUMBER_COUNTRY');

 

$this->smarty->assign(array(

'tax_exempt' => $tax_exempt,

'use_one_after_another_method' => $this->order_invoice->useOneAfterAnotherTaxComputationMethod(),

'product_tax_breakdown' => $this->order_invoice->getProductTaxesBreakdown(),

'shipping_tax_breakdown' => $this->order_invoice->getShippingTaxesBreakdown($this->order),

'ecotax_tax_breakdown' => $this->order_invoice->getEcoTaxTaxesBreakdown(),

'wrapping_tax_breakdown' => $this->order_invoice->getWrappingTaxesBreakdown(),

'order' => $this->order,

'order_invoice' => $this->order_invoice

));

 

return $this->smarty->fetch($this->getTemplate('invoice.tax-tab'));

}

 

/**

* Returns the invoice template associated to the country iso_code

* @param string $iso_country

*/

protected function getTemplateByCountry($iso_country)

{

$file = Configuration::get('PS_INVOICE_MODEL');

 

// try to fetch the iso template

$template = $this->getTemplate($file.'.'.$iso_country);

 

// else use the default one

if (!$template)

$template = $this->getTemplate($file);

 

return $template;

}

 

/**

* Returns the template filename when using bulk rendering

* @return string filename

*/

public function getBulkFilename()

{

return 'invoices.pdf';

}

 

/**

* Returns the template filename

* @return string filename

*/

public function getFilename()

{

return Configuration::get('PS_INVOICE_PREFIX').sprintf('%06d', $this->order_invoice->number).'.pdf';

}

}

 

qualche aiuto?'?'??

Link to comment
Share on other sites

questo è il contenuto di invoice.tpl:

 

 

{*

* 2007-2012 PrestaShop

*

* NOTICE OF LICENSE

*

* This source file is subject to the Academic Free License (AFL 3.0)

* that is bundled with this package in the file LICENSE.txt.

* It is also available through the world-wide-web at this URL:

* http://opensource.org/licenses/afl-3.0.php

* If you did not receive a copy of the license and are unable to

* obtain it through the world-wide-web, please send an email

* to [email protected] so we can send you a copy immediately.

*

* DISCLAIMER

*

* Do not edit or add to this file if you wish to upgrade PrestaShop to newer

* versions in the future. If you wish to customize PrestaShop for your

* needs please refer to http://www.prestashop.com for more information.

*

* @author PrestaShop SA <[email protected]>

* @copyright 2007-2012 PrestaShop SA

* @version Release: $Revision: 6753 $

* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)

* International Registered Trademark & Property of PrestaShop SA

*}

<div style="font-size: 8pt; color: #444">

 

<table>

<tr><td> </td></tr>

</table>

 

<!-- ADDRESSES -->

<table style="width: 100%">

<tr>

<td style="width: 15%"></td>

<td style="width: 85%">

{if !empty($delivery_address)}

<table style="width: 100%">

<tr>

<td style="width: 50%">

<span style="font-weight: bold; font-size: 10pt; color: #9E9F9E">{l s='Delivery Address' pdf='true'}</span><br />

{$delivery_address}

</td>

<td style="width: 50%">

<span style="font-weight: bold; font-size: 10pt; color: #9E9F9E">{l s='Billing Address' pdf='true'}</span><br />

{$invoice_address}

</td>

</tr>

</table>

{else}

<table style="width: 100%">

<tr>

 

<td style="width: 50%">

<span style="font-weight: bold; font-size: 10pt; color: #9E9F9E">{l s='Billing & Delivery Address.' pdf='true'}</span><br />

{$invoice_address}

</td>

<td style="width: 50%">

 

</td>

</tr>

</table>

{/if}

</td>

</tr>

</table>

<!-- / ADDRESSES -->

 

<div style="line-height: 1pt"> </div>

 

<!-- PRODUCTS TAB -->

<table style="width: 100%">

<tr>

<td style="width: 15%; padding-right: 7px; text-align: right; vertical-align: top; font-size: 7pt;">

<!-- CUSTOMER INFORMATION -->

<b>{l s='Order Number:' pdf='true'}</b><br />

{$order->getUniqReference()}<br />

<br />

<b>{l s='Order Date:' pdf='true'}</b><br />

{$order->date_add|date_format:"%d-%m-%Y %H:%M"}<br />

<br />

<b>{l s='Payment Method:' pdf='true'}</b><br />

<table style="width: 100%;">

{foreach from=$order_invoice->getOrderPaymentCollection() item=payment}

<tr>

<td style="width: 50%">{$payment->payment_method}</td>

<td style="width: 50%">{displayPrice price=$payment->amount currency=$order->id_currency}</td>

</tr>

{foreachelse}

<tr>

<td>{l s='No payment' pdf='true'}</td>

</tr>

{/foreach}

</table>

<br />

<!-- / CUSTOMER INFORMATION -->

</td>

<td style="width: 85%; text-align: right">

<table style="width: 100%; font-size: 8pt;">

<tr style="line-height:4px;">

<td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 10px; font-weight: bold; width: 45%">{l s='Product / Reference' pdf='true'}</td>

<!-- unit price tax excluded is mandatory -->

{if !$tax_excluded_display}

<td style="background-color: #4D4D4D; color: #FFF; text-align: right; font-weight: bold; width: 10%">{l s='Unit Price' pdf='true'} <br />{l s='(Tax Excl.)' pdf='true'}</td>

{/if}

<td style="background-color: #4D4D4D; color: #FFF; text-align: right; font-weight: bold; width: 10%">

{l s='Unit Price' pdf='true'}

{if $tax_excluded_display}

{l s='(Tax Excl.)' pdf='true'}

{else}

{l s='(Tax Incl.)' pdf='true'}

{/if}

</td>

<td style="background-color: #4D4D4D; color: #FFF; text-align: right; font-weight: bold; width: 10%">{l s='Discount' pdf='true'}</td>

<td style="background-color: #4D4D4D; color: #FFF; text-align: center; font-weight: bold; width: 10%">{l s='Qty' pdf='true'}</td>

<td style="background-color: #4D4D4D; color: #FFF; text-align: right; font-weight: bold; width: {if !$tax_excluded_display}15%{else}25%{/if}">

{l s='Total' pdf='true'}

{if $tax_excluded_display}

{l s='(Tax Excl.)' pdf='true'}

{else}

{l s='(Tax Incl.)' pdf='true'}

{/if}

</td>

</tr>

<!-- PRODUCTS -->

{foreach $order_details as $order_detail}

{cycle values='#FFF,#DDD' assign=bgcolor}

<tr style="line-height:6px;background-color:{$bgcolor};">

<td style="text-align: left; width: 45%">{$order_detail.product_name}</td>

<!-- unit price tax excluded is mandatory -->

{if !$tax_excluded_display}

<td style="text-align: right; width: 10%">

{displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_excl}

</td>

{/if}

<td style="text-align: right; width: 10%">

{if $tax_excluded_display}

{displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_excl}

{else}

{displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_incl}

{/if}

</td>

<td style="text-align: right; width: 10%">

{if (isset($order_detail.reduction_amount) && $order_detail.reduction_amount > 0)}

-{displayPrice currency=$order->id_currency price=$order_detail.reduction_amount}

{else if (isset($order_detail.reduction_percent) && $order_detail.reduction_percent > 0)}

-{$order_detail.reduction_percent}%

{else}

--

{/if}

</td>

<td style="text-align: center; width: 10%">{$order_detail.product_quantity}</td>

<td style="width: 15%; text-align: right; width: {if !$tax_excluded_display}15%{else}25%{/if}">

{if $tax_excluded_display}

{displayPrice currency=$order->id_currency price=$order_detail.total_price_tax_excl}

{else}

{displayPrice currency=$order->id_currency price=$order_detail.total_price_tax_incl}

{/if}

</td>

</tr>

{foreach $order_detail.customizedDatas as $customizationPerAddress}

{foreach $customizationPerAddress as $customizationId => $customization}

<tr style="line-height:6px;background-color:{$bgcolor}; ">

<td style="line-height:3px; text-align: left; width: 60%; vertical-align: top">

 

<blockquote>

{if isset($customization.datas[$smarty.const._CUSTOMIZE_TEXTFIELD_]) && count($customization.datas[$smarty.const._CUSTOMIZE_TEXTFIELD_]) > 0}

{foreach $customization.datas[$smarty.const._CUSTOMIZE_TEXTFIELD_] as $customization_infos}

{$customization_infos.name}: {$customization_infos.value}

{if !$smarty.foreach.custo_foreach.last}<br />

{else}

<div style="line-height:0.4pt"> </div>

{/if}

{/foreach}

{/if}

 

{if isset($customization.datas[$smarty.const._CUSTOMIZE_FILE_]) && count($customization.datas[$smarty.const._CUSTOMIZE_FILE_]) > 0}

{count($customization.datas[$smarty.const._CUSTOMIZE_FILE_])} {l s='image(s)' pdf='true'}

{/if}

</blockquote>

</td>

<td style="text-align: right; width: 15%"></td>

<td style="text-align: center; width: 10%; vertical-align: top">({$customization.quantity})</td>

<td style="width: 15%; text-align: right;"></td>

</tr>

{/foreach}

{/foreach}

{/foreach}

<!-- END PRODUCTS -->

 

<!-- CART RULES -->

{assign var="shipping_discount_tax_incl" value="0"}

{foreach $cart_rules as $cart_rule}

{cycle values='#FFF,#DDD' assign=bgcolor}

<tr style="line-height:6px;background-color:{$bgcolor};" text-align="left">

<td colspan="{if !$tax_excluded_display}5{else}4{/if}">{$cart_rule.name}</td>

<td>

{if $cart_rule.free_shipping}

{assign var="shipping_discount_tax_incl" value=$order_invoice->total_shipping_tax_incl}

{/if}

{if $tax_excluded_display}

- {$cart_rule.value_tax_excl}

{else}

- {$cart_rule.value}

{/if}

</td>

</tr>

{/foreach}

<!-- END CART RULES -->

</table>

 

<table style="width: 100%">

{if (($order_invoice->total_paid_tax_incl - $order_invoice->total_paid_tax_excl) > 0)}

<tr style="line-height:5px;">

<td style="width: 85%; text-align: right; font-weight: bold">{l s='Product Total (Tax Excl.)' pdf='true'}</td>

<td style="width: 15%; text-align: right;">{displayPrice currency=$order->id_currency price=$order_invoice->total_products}</td>

</tr>

 

<tr style="line-height:5px;">

<td style="width: 85%; text-align: right; font-weight: bold">{l s='Product Total (Tax Incl.)' pdf='true'}</td>

<td style="width: 15%; text-align: right;">{displayPrice currency=$order->id_currency price=$order_invoice->total_products_wt}</td>

</tr>

{else}

<tr style="line-height:5px;">

<td style="width: 85%; text-align: right; font-weight: bold">{l s='Product Total' pdf='true'}</td>

<td style="width: 15%; text-align: right;">{displayPrice currency=$order->id_currency price=$order_invoice->total_products}</td>

</tr>

{/if}

 

{if $order_invoice->total_discount_tax_incl > 0}

<tr style="line-height:5px;">

<td style="text-align: right; font-weight: bold">{l s='Total Vouchers' pdf='true'}</td>

<td style="width: 15%; text-align: right;">-{displayPrice currency=$order->id_currency price=($order_invoice->total_discount_tax_incl + $shipping_discount_tax_incl)}</td>

</tr>

{/if}

 

{if $order_invoice->total_wrapping_tax_incl > 0}

<tr style="line-height:5px;">

<td style="text-align: right; font-weight: bold">{l s='Wrapping Cost' pdf='true'}</td>

<td style="width: 15%; text-align: right;">

{if $tax_excluded_display}

{displayPrice currency=$order->id_currency price=$order_invoice->total_wrapping_tax_excl}

{else}

{displayPrice currency=$order->id_currency price=$order_invoice->total_wrapping_tax_incl}

{/if}

</td>

</tr>

{/if}

 

{if $order_invoice->total_shipping_tax_incl > 0}

<tr style="line-height:5px;">

<td style="text-align: right; font-weight: bold">{l s='Shipping Cost' pdf='true'}</td>

<td style="width: 15%; text-align: right;">

{if $tax_excluded_display}

{displayPrice currency=$order->id_currency price=$order_invoice->total_shipping_tax_excl}

{else}

{displayPrice currency=$order->id_currency price=$order_invoice->total_shipping_tax_incl}

{/if}

</td>

</tr>

{/if}

 

{if ($order_invoice->total_paid_tax_incl - $order_invoice->total_paid_tax_excl) > 0}

<tr style="line-height:5px;">

<td style="text-align: right; font-weight: bold">{l s='Total Tax' pdf='true'}</td>

<td style="width: 15%; text-align: right;">{displayPrice currency=$order->id_currency price=($order_invoice->total_paid_tax_incl - $order_invoice->total_paid_tax_excl)}</td>

</tr>

{/if}

 

<tr style="line-height:5px;">

<td style="text-align: right; font-weight: bold">{l s='Total' pdf='true'}</td>

<td style="width: 15%; text-align: right;">{displayPrice currency=$order->id_currency price=$order_invoice->total_paid_tax_incl}</td>

</tr>

 

</table>

 

</td>

</tr>

</table>

<!-- / PRODUCTS TAB -->

 

<div style="line-height: 1pt"> </div>

 

{$tax_tab}

 

{if isset($order_invoice->note) && $order_invoice->note}

<div style="line-height: 1pt"> </div>

<table style="width: 100%">

<tr>

<td style="width: 15%"></td>

<td style="width: 85%">{$order_invoice->note|nl2br}</td>

</tr>

</table>

{/if}

 

{if isset($HOOK_DISPLAY_PDF)}

<div style="line-height: 1pt"> </div>

<table style="width: 100%">

<tr>

<td style="width: 15%"></td>

<td style="width: 85%">{$HOOK_DISPLAY_PDF}</td>

</tr>

</table>

{/if}

 

</div>

Link to comment
Share on other sites

ho risolto parzialmente installando il modulo M4pdf, con quello sono riuscito a fare il pdf in A5 e poi nella stampante metto il modulo ricevute gemelle (madre-figlia) già separato e gli dico di stampare 2 copie.

 

sto studiando per come fare a far uscire un A4 orizzontale con dentro due copie uguali, se qualcuno ha idee è benevenuto!

 

grazie dell'aiuto

 

ciao

Link to comment
Share on other sites

  • 2 months later...

Salute a tutti

ma per modificare unicamente la scritta FATTURA con PROFORMA dove dovrei andare ??

versione 1.5.2

 

grazie

Io ho risolto utilizzando la traduzione file PDF da BO. Ho tradotto invoice con fattura pro-forma, visto che la fattura la invio cartacea insieme all'oggetto (non ho solo l'ecommerce ma anche il negozio fisico).

Link to comment
Share on other sites

Nella 1.5 Localizzazione==>Traduzioni

qui selezioni "Traduzioni file PDF", cerchi "Invoice" e lo traduci con "Fattura Pro-Forma". Io l'ho fatto anche per l'inglese, così mi sono risparmiato di mettere mano al codice(almeno questa volta! :) )

Link to comment
Share on other sites

  • 3 years later...

Ciao a tutti,
scrivo riguardo alle Traduzioni da BO.

In particolare devo effettuare delle traduzioni PDF.

Prima d'ora ho avuto accesso senza nessun problema e ho potuto apportare le modifiche alle lingue desiderate (ITA o ENG).

Stamani provando ad accedere non riesco più, mi appare una pagina bianca.

Come mai?

 

Il percorso che eseguo per effettuare queste operazioni è:
Localizzazione >Traduzioni

poi in: Modifica le traduzioni
- Tipo di traduzione > Traduzioni PDF
- Scegli il tuo tema > default-bootstrap
- Seleziona la tua lingua > Italiano (italian)

cliccare sul pulsante "MODIFICA"


Tutti gli altri tipi di traduzione (tipo backoffice, moduli, ecc) accedo in maniera corretta e senza problemi.

Avete idea di cosa sia successo o come risolvere questo problema?

 

Versione Prestashop_1.6.1.4

Grazie mille a tutti dei vostri consigli e aiuti.

Link to comment
Share on other sites

"Stamani..."

Sembra che qualcosa è cambiato sul server - versione di PHP, sono stati aggiornati i moduli, ...

 

"This morning..."

It looks like something changed on your server - PHP version, modules were upgraded, ...

 

 

RISOLTO

problema era dovuto al "memory_limit" (ARUBA)

bisogna modificare da 256M a 512

 

Spero che possa servire ad altri.

Ciao a tutti

Link to comment
Share on other sites

  • 10 months later...

Salve a tutti.

Anche io ho la necessità a lavoro di modificare il pdf della fattura, cambiando logo e dati al piè di pagina.

Non vorrei comprare un plugin, quindi mi chiedo se c'è possibilità di modificare questi dati anche andando a modificare i file.

Qualcuno di voi potrebbe darmi una mano, quali file dovrebbero essere modificati e dove li posso trovare?

Grazia a tutti

Link to comment
Share on other sites

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...