Lingua:

moduli Prestashop logo small
Motore di ricerca Prestashop

Manual update

Because of the high variety of templates available, the module is not always able to find the exact position of where to apply the modification to let the additional fields appear. This situation is reported by the following message.

fatturazione elettronica installazione manuale

PRESTASHOP 1.6

To manually apply the required fields follow this procedure. Reach your website's main folder using a file manager program (i.e. FileZilla) or your online control panel (i.e. Cpanel) and look for the template folder, whose name is reported within the module next to Your current template is.
The path will be:

mywebsite/themes/current_template

(i.e.: httpdocs/themes/default-bootstrap). Once you found that folder, the files that have to be updated are listed below. You will have to add the following line to those files

{hook h='displayAddress'}

exactly as written above here. That line must be added after the text field dedicated to the informations, usually listed as Additional information. That field is placed between two "div" or "p" tags. The final result will be similar to this one:

fatturazione elettronica installazione manuale 01

The files that will have to be updated with this line are (the number between the parentheses indicated how many times the additional information block is present and how many times you will have to add the line in total):
  • address.tpl (1)
  • authentication.tpl (2)
  • order-opc-new-account-advanced.tpl (2) (NB: this file is not always present)
  • order-opc-new-account.tpl (2)

PRESTASHOP 1.7

To manually apply the required fields follow this procedure. Reach your website's main folder using a file manager program (i.e. FileZilla) or your online control panel (i.e. Cpanel) and look for the template folder, whose name is reported within the module next to Your current template is.
The path will be:
mywebsite/themes/current_template/templates/customer/_partials

(i.e.: httpdocs/themes/warehouse/templates/customer/_partials). Once you found that folder, look for the address-form.tpl file. In that file you will have to add the following lines

{block name='form_field'}
{widget name="einvoicingprestalia"}
{/block}

exactly as written above here. Those lines have to be added after the field dedicated to the address informations, typically listed as address_form_fields. It is important to keep those lines outside of the block called foreach, so to avoid to repeat the fields multiple times. The final result will be similar to this one:

fatturazione elettronica installazione manuale 02



{hook h='displayAddress'}

Prestalia

Contact

Support