This is a discussion on Text Attribute not included on order within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi All, I've added a text box attribute to a product to allow the user to type in freeform text. ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi All, I've added a text box attribute to a product to allow the user to type in freeform text. It works OK all the way up to the checkout showing the product name and text input by the user, but the text is not being passed on from the checkout to the order. It's not in the confirmation e-mail or the database. Is there somthing I'm doing wrong here? Thanks In Advance Derek |
|
#2
| |||
| |||
| It's a bug and the patch is out. See here ...... http://oscdox.com/index.php?name=PNp...xt+input+field |
|
#3
| |||
| |||
| Thanks GoAskMom, I'll try this in the morning. Cheers Derek |
|
#4
| |||
| |||
| Hi All, Just to confirm that the fix GoAskMom mentions works OK. However,...... The thread is long, (I started to read it before I posted this question but abandoned it half way down!) so work your way through it! (Not like me!) If the dowload does not work, follow Msasek's advice and uncheck the Httm1.1 checkbox, quit ALL explorer windows and restart it before trying to download it again. Thanks All Derek |
|
#5
| |||
| |||
| I have updated with this patch and am Still having problems when the customer pays with Paypal all I get is the words TEXT for any text input boxes. But if they pay with check/money order everything works perfectly. Can someone help please!! Ive checked just about everything I can think of, compared all the paypal payment modules using beyond compare and nothing is wrong or out of place. |
|
#6
| |||
| |||
| Hi All, To get round the problem of the text string being mashed when using paypal, I did this which works. HOWEVER!!! I don't know how safe it is. Can someone else comment?? In catalog/checkout_process.php, find this line--> //clr 030714 changing to use values from $orders->products and adding call to tep_decode_specialchars() $products_ordered_attributes .= "\n\t" . $attributes_values['products_options_name'] . ' ' . tep_decode_specialchars($order->products[$i]['attributes'][$j]['value']); REMOVE the call to tep_decode_specialchars()...Like this---> $products_ordered_attributes .= "\n\t" . $attributes_values['products_options_name'] . ' ' . $order->products[$i]['attributes'][$j]['value']; I'm not sure what decode_special_chars() does, it may in be to provent SQL-Injection or something, so it's maybe better to wait until a real coder has a look. Best, Derek |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New Text Attribute Problem. Please Help | prosam | osCMax v1.7 Discussion | 13 | 11-28-2006 12:00 PM |
| adding text box for a product attribute | tunnel7 | osCMax v2 Features Discussion | 1 | 06-10-2006 09:02 AM |
| product attribute text option question | SkidMark | osCMax v1.7 General Mods Discussion | 5 | 04-29-2005 10:46 AM |
| Text Attribute Character Limit | prosam | osCommerce 2.2 Modification Help | 5 | 04-27-2005 10:02 AM |
| Shipping not being included/added to order in a MS/2 Install | cpeters | osCMax v1.7 Installation | 1 | 12-17-2004 03:42 PM |