Wednesday, March 21, 2007

Renewing Camcorder Batteries

Partita IVA e Codice Fiscale per Zen Cart 1.3.7

today I finally released the long-awaited amendments necessary to manage Zen Cart (1.3.7 Italian version) and a VAT tax number of customers.

Grazie a queste modifiche, vengono inseriti due nuovi campi nel form di creazione account.

Oltre ad essere presenti in fase di creazione account, ovviamente sono presenti anche nella sezione di modifica, nella rubrica indirizzi e in fase di checkout qualora si specifichi un indirizzo di fatturazione differente rispetto a quello di default.

Per poter gestire questi due nuovi campi è necessario modificare svariati files della distribuzione originale, nonchè modificare anche il database.

Questo è l'elenco dei fiels coinvolti:

- admin/customers.php
- admin/includes/classes/order.php
- admin/includes/functions/general.php
- admin/includes/languages/italian/extra_definitions/fiscal_def.php

- includes/classes/order.php
- includes/languages/italian/extra_definitions/fiscal_def.php
- includes/modules/pages/address_book/header_php.php
- includes/modules/pages/address_book_process/header_php.php
- includes/modules/pages/address_book_process/jscript_main.php
- includes/modules/pages/checkout_payment_address/jscript_main.php
- includes/modules/pages/create_account/jscript_form_check.php
- includes/modules/pages/login/jscript_form_check.php

- includes/modules/YOUR_TEMPLATE/checkout_address_book.php
- includes/modules/YOUR_TEMPLATE/checkout_new_address.php
- includes/modules/YOUR_TEMPLATE/create_account.php

- includes / templates / YOUR_TEMPLATE / templates / tpl_modules_address_book_details.php
- includes / templates / YOUR_TEMPLATE / templates / tpl_modules_checkout_new_address.php
- includes / templates / YOUR_TEMPLATE / templates / tpl_modules_create_account.php



INSTALLATION

I Files are saved with the default installation path of Zen Cart
If you have made changes to any of the files involved, you will also appear in the corresponding file in this archive.
Where possible you used the override in such cases, the folder of the template was named your_template. Obviously you need to rename them as vs the template in use.

done this, you can transfer files to the root of your store.

After that run the sql patch in the file sql_patch.sql_patch

Now you can proceed with the setup


SETUP

To activate / deactivate the two new fields, go to Admin-> Configuration-> Customer Info For
define the minimum number of characters the user must enter at compile time, go to Admin-> Configuration-> Minimum Values \u200b\u200b
As usual, 0 is obtained by specifying that the field in question is no longer required.


DOWNLOAD

0 comments:

Post a Comment