X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Additional fields for address book (https://forum.x-cart.com/showthread.php?t=62429)

ADDISON 06-20-2012 09:03 AM

Re: Additional fields for address book
 
+1

Quote:

Originally Posted by cflsystems
Alex thanks for that but can you please include it in 4.5.1. Makes no sense to have to patch an upcoming version, just make it part of it


qualiteam 06-20-2012 09:03 PM

Re: Additional fields for address book
 
I've informed the staff responsible. We'll consider adding this feature in 4.5.2.

xcellere 06-28-2012 01:06 PM

Re: Additional fields for address book
 
My additional_address_fields area isn't showing up either. additional_address_fields.tpl is being loaded, but the file isn't in the listed directory. How do I add it?

qualiteam 06-29-2012 12:37 AM

Re: Additional fields for address book
 
As far as I understand, you mean skin/common_files/additional_address_fields.tpl, right? It should be created during the patch application automatically. If not, you can create it via FTP or X-Cart templates editing tool (in the admin back-end) and copy its content subtracting (+ signs) from the corresponding DIFF_*.patch file.

yvesk 07-06-2012 04:28 AM

Re: Additional fields for address book
 
Same problem, it looks like that the part of the file creation is missing in the patch for 4.5.0. I took the part from 4.4.5 and now it works

georgewf 07-29-2012 05:59 PM

Re: Additional fields for address book
 
1 Attachment(s)
Hi,

The new field data does not appear in the fast lane checkout.

qualiteam 07-29-2012 10:06 PM

Re: Additional fields for address book
 
Quote:

Originally Posted by georgewf
Hi,
The new field data does not appear in the fast lane checkout.


Could you please clarify the X-Cart version?

totaltec 08-08-2012 09:10 AM

Re: Additional fields for address book
 
Just successfully implemented this mod for 4.4.4, worked like a charm. Thanks Alex

I did have to implement the extra step in post #26 http://forum.x-cart.com/showpost.php?p=333175&postcount=26

Additionally I modified /common_files/mail/html/order_invoice.tpl
to include an if statement to check if there is a saved value for the field :
{foreach from=$order.extra.additional_fields.address.B item=v}
{if $v.value ne ""}
<tr>
<td><strong>{$v.title}:</strong></td>
<td>{$v.value}</td>
</tr>
{/if}
{/foreach}

Has to be done for the billing and shipping fields both. Just keeps it from displaying the field title unless the user has a value saved for that field.

GreatLakesVacuum 09-05-2012 10:37 AM

Re: Additional fields for address book
 
Ok, just attempted this with 4.5.2

All files patched successfully except for register.php

I did that one manually but I must have made an error because when I add additional fields to the address book in the admin section and click update, they do not show up in the top section of that page once it refreshes!

Any help? What should I try? Can anyone else say if they made this work on 4.5.2 and how they did it?

Is QT going to update this to support 4.5.2 as they seem to not want to have it included?

GreatLakesVacuum 09-05-2012 11:36 AM

Re: Additional fields for address book
 
Quote:

Originally Posted by yvesk
Same problem, it looks like that the part of the file creation is missing in the patch for 4.5.0. I took the part from 4.4.5 and now it works


It appears I have this problem with 4.5.2 also.

I can't even find a section of the DIFF file where that file is created for 4.4.5 either!

Took it from 4.4.4 and did the post #26 fix and did a php cleanup and it works now. :)


All times are GMT -8. The time now is 12:23 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.