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
  #21  
Old 01-26-2012, 12:25 PM
 
alinush alinush is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 88
 

Default Re: Additional fields for address book

I use Firefox.

I also tried Chrome and IE - same thing, a blank space.

The screenshot shows the HTML code in Firebug - the additional field is there, but it's invisible for some reason.

I tried clearing the cache with no results.
__________________
X-Cart 4.1.x to 4.7.x
Reply With Quote
  #22  
Old 01-27-2012, 08:24 AM
  seyfin's Avatar 
seyfin seyfin is offline
 

X-Cart team
  
Join Date: May 2004
Posts: 1,223
 

Default Re: Additional fields for address book

Quote:
Originally Posted by qualiteam
In order to add this feature you can try the following modification (patches for X-Cart 4.4.4):

1. Apply the attached PATCH.sql
2. Apply the attached DIFF.patch

http://help.qtmsoft.com/index.php?title=X-Cart:Applying_Patches

See the attached snapshots.

Once the patches are applied new options will be available on profile options page in admin back end and customer front end.

New "Address book" fields will appear on checkout and address book pages.

See the attached snapshots (next posts).

Note: Only default build-in fields can be used for shipping calculations.

Here is a patch adjusted for version 4.4.5:

* DIFF.patch.4_4_5.txt
Attached Files
File Type: txt DIFF.patch.4_4_5.txt (31.1 KB, 104 views)
__________________
Sincerely yours,
Sergey Fomin
X-Cart team
Chief support group engineer

===

Check this out. Totally revamped X-Cart hosting
http://www.x-cart.com/hosting.html

Follow us:
https://twitter.com/x_cart / https://www.facebook.com/xcart / https://www.instagram.com/xcart
Reply With Quote

The following user thanks seyfin for this useful post:
am2003 (01-27-2012)
  #23  
Old 01-30-2012, 10:39 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 alinush
For some reason though, the extra fields are invisible, even if the HTML code is there.

Make sure the modification is applied properly.
Also, please try clearing templates and browser cache.

http://help.qtmsoft.com/index.php?title=X-Cart:Advanced_Tools#Clear_Templates.2FX-Cart_Cache
__________________
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
  #24  
Old 01-30-2012, 10:44 PM
 
alinush alinush is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 88
 

Default Re: Additional fields for address book

I have tried everything, including clearing the cache. As you can see the HTML code is there, but for some reason it's not displayed. I can't find any way to fix it.
__________________
X-Cart 4.1.x to 4.7.x
Reply With Quote
  #25  
Old 01-30-2012, 10:46 PM
 
alinush alinush is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 88
 

Default Re: Additional fields for address book

You can see this live at http://gentworks.blueneon.ro/ - if you go to checkout, you will see the blank space where this html code is:

Code:
<li class="fields-group last"> <div class="field-container"> <div class="data-name"> <label for="additional_address_values_address_B_9">Address (line 3)</label> &nbsp;</div> <div class="data-value"> <input type="text" value="" size="32" id="additional_address_values_address_B_9" name="additional_values[address][b][9]"> </div> </div> </li>
__________________
X-Cart 4.1.x to 4.7.x
Reply With Quote
  #26  
Old 02-03-2012, 02:30 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default Re: Additional fields for address book

Please try the follwing: edit the "skin/common_files/modules/One_Page_Checkout/profile/address_fields.tpl" template and add this code
Code:
{if $ex_additional_address_fields ne ''} <li class="clearing"></li> {/if}
right after this code fragment
Code:
{include file="main/additional_address_fields.tpl" ex_additional_address_fields=$ex_additional_address_fields require_aid='Y' ex_list_view='Y'}
__________________
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
  #27  
Old 02-04-2012, 05:56 AM
 
alinush alinush is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 88
 

Default Re: Additional fields for address book

This did the trick! Thank you!
__________________
X-Cart 4.1.x to 4.7.x
Reply With Quote
  #28  
Old 02-16-2012, 10:02 AM
 
alinush alinush is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 88
 

Default Re: Additional fields for address book

Any ideas on how I could insert extra address book fields between the default ones?
__________________
X-Cart 4.1.x to 4.7.x
Reply With Quote
  #29  
Old 03-19-2012, 03:52 AM
 
Nishant Nishant is offline
 

Advanced Member
  
Join Date: Oct 2009
Posts: 39
 

Default Re: Additional fields for address book

What more required to make it work with X-cart 4.4.3 ??
Please help..
__________________
Various X-cart Versions...!!
Latest is X-cart 4.7.5
Reply With Quote
  #30  
Old 03-21-2012, 03:05 AM
  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 alinush
Any ideas on how I could insert extra address book fields between the default ones?

This feature is not supported unfortunately. A more complex modification will be required to add it.
__________________
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
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 11:37 AM.

   

 
X-Cart forums © 2001-2020