Jump to content



Photo
- - - - -

Truncating customer text input if not logged in first


This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1   smartwork

smartwork
  • Members
  • 203 posts

Posted 09 August 2012 - 19:18

Puzzling question. Used OSC for over a decade and are working on an updates shop. We've got OSC set up with customer text input attributes. If a user is logged in prior to using the text input option on a product, checkout is fine. If the text input attribute is used before logging in, and then the user logs in as part of checkout, the text data is then truncated. I'm trying to find a pattern, but the amount of truncation seems to vary.

What would make it truncate if text attribute is used prior to login, but allow it to work fine if login happens first?

#2   smartwork

smartwork
  • Members
  • 203 posts

Posted 10 August 2012 - 20:00

Solved: Posting this just in case anyone else runs into it. With the addition of the "customer-input" of the text attribute, you also have the ability to set the length of the text input which is great, however, the customers basket attributes table has the "products_options_value_text" field set at 32, so it was truncating the text without the customer logged in. This length needs to be increased in your table if you are going to have input greater than the 32.