Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Product Features and Usertext
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Steve2507
VP-CART Expert

590 Posts

Posted - September 23 2010 :  09:02:17  Show Profile  Reply with Quote
Hi,

I am trying to add a product feature where the customer has to enter a message. I want the customer to have a fair bit of room so a nice textarea is the way to go.

However

On the product feature if I set the feature type to usertext then we only get a single line. This single line then puts the information in the order as a feature of the order.

If I enter the product type as Textarea then we get the layout I want but any details entered in the text box aren't carried over with the product when it is added to the basket.

Has anyone come across this before?

Thanks


Steve
Sex toys from a UK sex shop including vibrators and dildos.

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - September 24 2010 :  08:00:16  Show Profile  Reply with Quote
Hi Steve,

yes there is a problem with the Text Area Feature, as I found out a couple of years ago when I was testing out the product features, but we never use features (stock control is essential for all our products) so I never got round to asking about it, and seeing as the support staff apparently don't monitor the forums any more I was curious to find a fix. Here's a quick and easy solution:

Open shopproductfeaturesgenerate.asp

Find Sub GenerateUserText (myconn, pricetext)

Change the text field line to a text area:

Response.write "<textarea rows=""" & rows & """ cols=""" & cols & """ name=""" & valuename & """>" & memusertext & "</textarea>"

Works fine for me :)

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

Steve2507
VP-CART Expert

590 Posts

Posted - September 24 2010 :  11:30:41  Show Profile  Reply with Quote
You're a star Carrol.

Works perfectly, just need to do a bit of formatting now.

Thanks for the help.


Steve
Sex toys from a UK sex shop including vibrators and dildos.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00