| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Allow html in additional register fields? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Our installation is a "mall" type, (Using BCSE's X-Mall mod & CartLab's SkinSwap) featuring multiple providers.
We allow those providers to have a unique "storefront". We added fields using "User Profiles options" in Additional Fields, to allow a business description, and we display their unique description on their home page. We selected "Text" as the field type for description (xcart_register_field_values) We only do this in the back end, when we set up a provider. The additional fields do not display for customer registration. However, we cannot use HTML in that field. We'd like to be able to use HTML there, in the same way that we can put HTML in the product descriptions, so the store has a richer looking "store front". So my question is, what change do I have to make, in order to use HTML in the xcart_register_field_values, in the same way product descriptions allow and display HTML. Thank you in advance for any help!
__________________
X-Cart PRO 4.1.9 |
|||||||
#2
|
|||||||
|
|||||||
![]() I'd open a ticket with X-Cart on this one, as they should be able to easily point you in the right direction.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() I was just coming in to ask a similar question which I'll still do below. If you've disovered the answer to your question, maybe you could pass it along? Or, may my thought on doing this is workable but I can't risk testing it at the moment.
Here's what I was going to post ... I would like to add an additional field of data to product detail pages that is able to accept HTML. Basically to be used in a manner similar to the detail images but more flexible. With detail images, if you want to have text it has to be in the image and therefore high-K and not very flexible. The "extra fields" feature creates char(255) type fields which do not accept HTML and are basically intended to add product-specific text. The benefit is that these fields already "know" the items they are associated with and appear on the admin's product entry page. One simple solution would seem to just change the type of that field (the "value" field in the "xcart_extra_field_values" table) to "text" which would be the same as the "fulldesc" field in the "xcart_products" table and should accept and allow the browser to interpret HTML tags. Does anyone know if that would mess things up (xcart upgrading not withstanding)? I do have the Market Manager mod on this which has put a "cost" field in but that is the only extra field in this xcart store at the moment. xcart v4.09 Thanks John |
|||||||
#4
|
|||||||
|
|||||||
![]() balinor, thank you for pointing me back to X-Cart support, you were right on the mark.
There was a very good reason to discuss my request with them directly. They provided me with the resolution instantly. John, feel free to PM for further discussion ![]()
__________________
X-Cart PRO 4.1.9 |
|||||||
#5
|
|||||||
|
|||||||
![]() Don't suppose you would care to post the solution for future reference?
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||
|
|||||||
![]() Hi Blizzard
I too would like to know their answer on this. Wanted to use a field to record a live email address. Thx Chris 4.016 |
|||||||
#7
|
|||||||
|
|||||||
![]() Not sure the solution should be posted here, as it has the potential of causing some security risks. If you are interested in having this functionality, I'd suggest contacting X-Cart directly.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#8
|
|||||||
|
|||||||
![]() Hi Padraic
I was just following your cue :> Cheers Chris |
|||||||
#9
|
|||||||
|
|||||||
![]() Yea, I didn't realize what making the change could cause as far as hackers are concerned
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|