PDA

View Full Version : Postcode in receipt and reports


John Jessen
15-Mar-2003, 02:56 PM
According to the Advanced Users Guide, it is possible to configure how the postcode is displayed by adding a "AddressFormat" with a value of 2 in the registry. However this does not seem to have any effect in my configuration.
Can the order of city/postcode by changed manually then, and in given case how is this done ?

John

Jan
15-Mar-2003, 05:08 PM
There is a file called vendor.ini in your Actinic root directory, add the line below to the sections called [Vendor]

AddressFormatForReports=2

This will certainly fix up the reports, it should also change the receipt page but doesn seem to change the emails. However if you look at the 'miscellaneous' tab on in the template manager (traditional view - the grey one) you will see the email templates and you should be able to edit them so that the address lines are put in the places you wish them to be in.

Regards,

John Jessen
15-Mar-2003, 08:02 PM
Thanks Jan. However, the point where I experience the problem is where the customers enters the invoice and delivery addresses. Here I would prefer to have postcode before city, or better these two on the same line. I guess that this maybe should be done with changes in html, but as a newbie I find it hard to get an overview of the html-structure, especially due to alle the netquotevars and embedded html. If I'm correct in this assumption I would be glad to have a clue as to which file I should look for.

Probably you are right in that your amendment will make it work correct in reports, but that far I have not reached yet. I have not been able to record orders due to another problem mentionned in another thread.

Regards,
John

cdicken
17-Mar-2003, 09:58 AM
You ned to get into the the templates to make the change in the Checkout online.

You have got to move the table row (<tr>...</tr>) for the postcode to be above the table row for the city.

In the Template Manager Jan pointed you to, go to the 'Ordering' tab and click on the 'Order Phase 1' button.

Locate the code

NETQUOTEDEL:INVOICEPROMPT008
<tr>
<td bgcolor="NETQUOTEVAR:CHECKOUTBG">NETQUOTEVAR:INVOICEPROMPT008</td>
<Actinic:LOCATION TYPE='INVOICEPOSTALCODE'>
<td bgcolor="NETQUOTEVAR:CHECKOUTBG">
<input type="TEXT" name="INVOICEPOSTALCODE" size="10" maxlength="50" value="NETQUOTEVAR:INVOICEPOSTALCODE">
</td>
</Actinic:LOCATION>
</tr>
NETQUOTEDEL:INVOICEPROMPT008

and copy and paste it above the code that says:

NETQUOTEDEL:INVOICEPROMPT006
<tr>
<td bgcolor="NETQUOTEVAR:CHECKOUTBG">NETQUOTEVAR:INVOICEPROMPT006</td>
<td bgcolor="NETQUOTEVAR:CHECKOUTBG">
<input type="TEXT" name="INVOICEADDRESS3" size="40" maxlength="200" value="NETQUOTEVAR:INVOICEADDRESS3">
</td>
</tr>
NETQUOTEDEL:INVOICEPROMPT006

Assuming address line 3 is your 'City' prompt.

You will then need to open 'Order Phase 2' and do the same there as this will make the change to the delivery address as well.