Zen Follower
- Join Date:
- Jan 2005
- Location:
- Minneapolis MN, USA
- Posts:
- 128
- Plugin Contributions:
- 0
How to change product attribute for order placed?
Ajeh:
I have not broken it yet ... but I have more testing for this for future releases to do ... :smile:
Hi Ajeh,
I haven't broken it yet either, but then I don't use every single possible option/combination for attributes. "-)
How about this: Could you please tell me the sql update statement to use instead? The attribute value is choice of "Yes" or "No" when they are ordering. Here's what I would normally use to update a text field...
update 'orders_products_attributes' set 'products_options_values'='No' where 'orders_products_attributes_id' =64
... but I'm getting a syntax error. Yes, a syntax error - imagine that - on all 7,000 versions I've tried! :blush: I even tried casting it, converting it, blah blah. Of course, I've only had 3 pots of coffee today, so that could be the problem. :shocking:
If I wasn't worried about changing it from Blob to Text breaking something now or down the road, I'd go ahead and do that just to get it over with. But this database is live and in use, and if something broke I wouldn't be able to go back and reconstruct the new orders and cc info, etc. if that makes sense.
Thanks!
Becky