Because of legislative requirements, it is necessary to have two more details to be added if the customer is a tax paying organisation (not a private person). These details are: OID (organisation identification number) and TPID (Tax Payer ID). How can I make it working? I mean, what modifications shall be made, in which files? It is pretty urgent to make it in test environment to get the customer ready to test the eshop and eventually to buy the licence.
You must start to do changes in default/order-step-2.php and some changes in core/order.php and database/_field.php and database/translations/en.php and style.css etc., etc. Look at example on image and... look at Quick.Cart.Ext v6.7 version
... // /* MOD additional fields */ $aOrdersFields = Array( 'iOrder', 'sLanguage', 'iStatus', 'iTime', 'sFirstName', 'sLastName', 'sCompanyName', 'sCompanyICO', 'sCompanyDIC', 'sStreet', 'sZipCode', 'sCity', 'sPhone', 'sEmail' ); /* MOD END */ ...
4. small adjustments in style.css ... /* MOD additional fields */ fieldset.inner{ width: 92%; box-sizing:border-box; padding: .5rem; border: 1px solid silver; background: #fafafa; }.input2{ width: 40%; } ... The result is nice built order form and table headdings in backend/orders. No values are transfered to the table, however. I also have not yet modify the email content (don't know how and where). The result of my testing is at http://obchod.cmsimple.sk. Closer hints highly appreciated.
Ah,yes, of course. Here it's only misprint. It is in database of course. Thank you anyway. I made some progress since my last post. If interested, I can send the modified QC. Where can I find your contact?
I think I have made it working as desired. The only that remained is the email content. All details are included. But I would like to have the details with their labels. I tried all possible mods in core/orders.php. But the email remains without any changes.
The email arrives but I don't know where and how to add the $lang['CompanyICO'] and $lang[CompanyDIC'] Data to see the in the email. E.g.: Company: Company XYZ ICO: 123456789 DIC: 987654321