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)

alinush 01-26-2012 12:25 PM

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.

seyfin 01-27-2012 08:24 AM

Re: Additional fields for address book
 
1 Attachment(s)
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

qualiteam 01-30-2012 10:39 PM

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

alinush 01-30-2012 10:44 PM

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.

alinush 01-30-2012 10:46 PM

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>


qualiteam 02-03-2012 02:30 AM

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'}

alinush 02-04-2012 05:56 AM

Re: Additional fields for address book
 
This did the trick! Thank you!

alinush 02-16-2012 10:02 AM

Re: Additional fields for address book
 
Any ideas on how I could insert extra address book fields between the default ones?

Nishant 03-19-2012 03:52 AM

Re: Additional fields for address book
 
What more required to make it work with X-cart 4.4.3 ??
Please help..

qualiteam 03-21-2012 03:05 AM

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.


All times are GMT -8. The time now is 09:38 AM.

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