Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Additional fields for address book

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #41  
Old 06-20-2012, 09:03 AM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

X-Man
  
Join Date: Jan 2008
Posts: 2,613
 

Default 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
__________________
X-Cart Next: Business 5.2 (learning and testing)
X-Cart Classic: Gold and Gold Plus 4.7
Lots of Modules and Customizations
OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux
Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions)

You can catch my ideas here: http://ideas.x-cart.com
Reply With Quote
  #42  
Old 06-20-2012, 09:03 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Additional fields for address book

I've informed the staff responsible. We'll consider adding this feature in 4.5.2.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions

Last edited by qualiteam : 06-27-2012 at 11:08 PM.
Reply With Quote
  #43  
Old 06-28-2012, 01:06 PM
 
xcellere xcellere is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 32
 

Default 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?
__________________
Sunthing Productions
Version 4.5
Reply With Quote
  #44  
Old 06-29-2012, 12:37 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #45  
Old 07-06-2012, 04:28 AM
 
yvesk yvesk is offline
 

Newbie
  
Join Date: Feb 2011
Location: France
Posts: 9
 

Default 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
__________________
version 4.4.4
version 4.5.1
Reply With Quote
  #46  
Old 07-29-2012, 05:59 PM
 
georgewf georgewf is offline
 

Advanced Member
  
Join Date: Feb 2004
Posts: 76
 

Default Re: Additional fields for address book

Hi,

The new field data does not appear in the fast lane checkout.
Attached Thumbnails
Click image for larger version

Name:	Clipboard01.jpg
Views:	224
Size:	25.6 KB
ID:	3149  
__________________
xcart 4.7.7
Reply With Quote
  #47  
Old 07-29-2012, 10:06 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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?
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #48  
Old 08-08-2012, 09:10 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default 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.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following user thanks totaltec for this useful post:
qualiteam (08-14-2012)
  #49  
Old 09-05-2012, 10:37 AM
 
GreatLakesVacuum GreatLakesVacuum is offline
 

eXpert
  
Join Date: Jan 2009
Posts: 286
 

Default 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?
__________________
X-Cart 4.5.4 Gold (Live Business Site)
X-Cart 5.1.9 Business (In Development Now)
Reply With Quote
  #50  
Old 09-05-2012, 11:36 AM
 
GreatLakesVacuum GreatLakesVacuum is offline
 

eXpert
  
Join Date: Jan 2009
Posts: 286
 

Default 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.
__________________
X-Cart 4.5.4 Gold (Live Business Site)
X-Cart 5.1.9 Business (In Development Now)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:15 AM.

   

 
X-Cart forums © 2001-2020