Re: Additional fields for address book
+1
Quote:
|
Re: Additional fields for address book
I've informed the staff responsible. We'll consider adding this feature in 4.5.2.
|
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?
|
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.
|
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
|
Re: Additional fields for address book
1 Attachment(s)
Hi,
The new field data does not appear in the fast lane checkout. |
Re: Additional fields for address book
Quote:
Could you please clarify the X-Cart version? |
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. |
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? |
Re: Additional fields for address book
Quote:
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. :) |
Re: Additional fields for address book
This feature should be included in 4.5.3 by default. It is a very important one. QT must consider our request and for the future versions we will avoid such of situations.
@Alex can you do us a favor? |
Re: Additional fields for address book
I've informed our staff about this, hope it will appear in the future versions as a standard feature.
|
Re: Additional fields for address book
See post 42 - http://forum.x-cart.com/showpost.php?p=341548&postcount=42 above
Hope 4.5.3 will not be as 4.5.2 |
Re: Additional fields for address book
Ok so this works fine in 4.5.2 now for me, but I need 2 things:
1) Ability to position fields (including custom ones) ... very sad that QT wants this to be something they charge me hundreds of dollars for 2) Desperately need the ability to IMPORT values into these new extra fields... does anyone know how? The extra fields don't show on Address Book EXPORT so I can't fill them in. And because they are REQUIRED fields I need to manually fill them in for all of our current customers (I know its a lot of work but we have to do it this way) |
Re: Additional fields for address book
I just went through this on 4.4.5 and read all of the posts in this thread. Here are my thoughts:
|
Re: Additional fields for address book
Hi,
I want to know that will it work on 4.4.2 Version so that I can try it another of my x-cart? Please reply anyone if it is for 4.4.2 or not? Thanks to all. |
Re: Additional fields for address book
Quote:
Yes, requested since day one and and how many releases after that - no change. I don't think this will ever be part of XC stock install the way it should be |
Re: Additional fields for address book
Quote:
This feature will be implemented in 4.5.4 version, our developers are currently working on it. |
Re: Additional fields for address book
Quote:
And in the meantime how does one edit these additional fields added to the address book with no import/export option? |
Re: Additional fields for address book
Well not sure what this will be in 4.5.4 but for sure it doesn't work well. The code works as it says in the title - additional fields for address book. But without positioning for ALL fields in address book is just almost useless. All of the additonal fields go at the end of the default address book fields. Imagine company field at the end...
I needed to add company field for a customer today who pointed to me this thread - I ended up coding it together with the standard address book fields disregarding the patch here. Not sure what QT will end up including in 4.5.4 but as I mentioned before - the whole address book feature needs an overhaul and completely new concept. |
Re: Additional fields for address book
Ok, a minute to think about it but I have to mention this
there is another cart with very similar name, we all know which cart is that, and the way they have the user profile fields is just how it has to be. QT - check it out - there is a demo, you can add a field, different types, you can set position, position can be independant for billing/shipping address, you can turn it on/off for billing/shipping address... I don't care how it works in the background - on the front all fields have to be as one package, admin has to be able to set the order in any way they want.... |
Re: Additional fields for address book
I agree Steve. If you take the best ideas from other shopping carts, XC will be in the best shape. That cart has more advanced features than XC, especially filtering, address book, wholesale (with percent as discount, and disregarding product variants applying the same discount even you buy 1 red and 1 blue).
Address book needs a special attention and I think you are very creative to offer a good one. |
Re: Additional fields for address book
Quote:
I wish I would have had you help me go this route with mine. :( We have company at the bottom, but the worst thing is I have to leave it as not-required because there is no way for me to go in and fill that field in from our customer database because these additional fields can not be imported/exported. :( |
Re: Additional fields for address book
Hi, Everyone!
The ability of adding new fields to Address Book has been added to the recently released X-Cart 4.5.4 version. For more info please refer to: http://forum.x-cart.com/showthread.php?t=65192 As soon as upgrade packs are ready you are welcome to upgrade and use it. |
Re: Additional fields for address book
That's just half of what was needed but still thanks for adding it. It is useless though if one wants to add company field - it will show at the end where it does not belong.... Without having a way to position all fields it just doesn;t make much difference...
|
Re: Additional fields for address book
That's true, if it doesn't allow positioning it's not very useful :(
|
Re: Additional fields for address book
Quote:
This confuses me... the picture in that thread only shows the custom one... is there really no positioning box next to the default ones? If so, they added nothing at all, because this is exactly how it currently is. I am asking you hoping maybe you have installed 4.5.4 and can check. I will probably update to it once there is a pack as it has some other fixes/changes I would like, but I am curious if they really added in full positioning or just lied to us. |
Re: Additional fields for address book
I don't know what really happened. This long waited feature doesn't offer Positioning? Maybe is challenging to add one more DB field named Pos.
Alex1 and Alex2 from QT, we need this feature in its best shape. It is like showing someone a chocolate and you tell him it is good as taste. Please take in consideration 455 to have a complete version of this feature inside. |
Re: Additional fields for address book
Quote:
You can add positioning for the additional fields but you cannot position them between the standard fields which is really needed. Standard fields are just as you see them. |
Re: Additional fields for address book
Can the programing experts please advise the best code practice to accomplish the task of adding/positioning a Field Name (Company) between the list of stock Field Names?
For example, if the stock field names Title and Fax are not going to be utilized, (i) is it best to rename and reposition either of these; or (ii) is it better to code a new stock entry; or (iii) would it be less work and more proper to utilize an additional field? Concerning the import/export of the Field Name values: (i) would function; (ii) would require a bit of code work; and (iii) would require the most? Thanks for any input. |
Re: Additional fields for address book
Quote:
If it wasn't for the import/export problem, I would simply either rename one (although I would have to likely redo lots of them) or I would shut off almost all of them and add all new custom ones that I can organize. This lack of sort is so irritating and I don't appreciate X-Cart having lied to us about it being in 4.5.4. |
Re: Additional fields for address book
The best way is to hard code it just like the other standard fields are - I have done this already and it is the best way at this point.
If you turn off all standard fields and just redo them as additional fields it will not work - these additional fields are not count as address fields and their values will not be populated in address book, you will also get errors if you try to use X-Payments for example as it relies on the standard fields, as well as any other payment method or any function that needs customer info.... |
Re: Additional fields for address book
I think utilizing an existing field is going to save you a lot of time. I don't see why fax could not be adapted to this purpose. Just change the name of the language variable and you are done. It looks like it is in a perfect position for company on most forms anyway.
Now I haven't tested this but I don't see any restrictions that would prevent this. Fax is a really redundant thing to be asking for these days... |
Re: Additional fields for address book
Quote:
I actually tried this at first... but it is at the very bottom, not at all where Company belongs... it should be FIRST. So it didn't really seem much better than a custom one that would be basically in the same spot and not require removal of Fax (and manually cleaning up all the fax numbers people have entered) |
Re: Additional fields for address book
Quote:
Re-ordering the fields is not easy to figure out, but in theory it should be simple to do. It looks like the fields are defined in two places, once in init.php and again in the database under xcart_config>address_book_fields. Initially I don't believe any values are stored in the db at all, but once you have used the Settings> user profiles page in the admin it stores the value in the db. Theoretically you could change the order of the fields by altering the order in init.php. If you already have a value stored in the xcart_config table it will override this setting, and since it is serialized it is harder for humans to read and adjust. So I would just delete this entry from the db. Once the field order is loaded from init.php, it should store the value correctly in the db for later adjustment of what is active/required. So if you want to use fax as company, you can just move it to the top of the list. Keep in mind that I have not tested this at all, don't try this on your live shop until you have tested all the implications on your dev site. Hope that helps, |
Re: Additional fields for address book
Quote:
Ours is 100% B2B. Often it is shipped to a different plant/building/city/company completely. I'll look this over in more detail in the morning. Thanks. |
Re: Additional fields for address book
Quote:
So, to keep it simple, if any repositioning of field names is required, it is best to (i) just add entries for new Field Name/s to the bottom (end) of the database list, and (ii) add a block of code in the desired Field Name/Address List position/s in the various template files? But, for simplicity, if a sufficient number of non-critical stock Field Names are available, and do not need repositioning, then as totaltec suggests, just change the name of the language variable/s? Note: I am thinking in terms of X-Cart v4.5.4 and FLC. |
Re: Additional fields for address book
Ok, so we have been playing with this more..
I have an added Company field that I added using the info from the other thread on how to add these to the "Address Book" portion. But in order to mark this field as complete, we need to populate it for existing customers. We tried to edit them in the Admin site via the address book part of the users. The new field shows up in red (just like the required marks) - no idea if that means anything besides it being added. But the edits don't stick?! I mean it does on a few customers, but not on most. And some of them the additional field isn't eve there? I do not understand this complete inconsistency and its driving us nuts! |
Re: Additional fields for address book
Quote:
Hi Mike, I am under the impression that what you are suggesting might re-position the Field Name entries on the admin side, but it looks like the customer side templates have the stock Field Name positions fixed and would require re-positioning of the Field Name code block/s. Is this incorrect? If the customer side address templates require coding for proper positioning, wouldn't it be more proper to do as Steve suggested, and hard code the new Field Name/s? |
Re: Additional fields for address book
Steel,
I just tested this method of positioning, and it works like a charm for OPC and the admin side. In the address book (when accessed from my account tab not OPC) it does not automatically re-position the fields, because they are hard coded into the template. An easy fix though, moving the fields in the templates are easy as pie. To edit the address book fields you can look at /common_files/customer/main/address_fields.tpl You can see it working at my test site: http://trainingpen.com Moving the fields in the address book or in FLC has never been a problem. It is OPC where this change is difficult, and requires some custom code like I suggested above. If you are using FLC then you just change the language variable for fax, and reorder the fields in the template. No need for any hair pulling. In OPC the fields are populated in the order that they are pulled from the DB. |
All times are GMT -8. The time now is 05:50 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.