Jump to content

Adding Field to Order.php and SQL field


McArdle's

Recommended Posts

Hello,

 

I am looking to add textareas for a card message on the order.php product line. When the order is submitted I would then like those card message(s) to show up on the order backend so we can see what cards to attach to which orders. I know I need to add a SQL field to the order_details table but I am not sure how to add that field and then get the text from the text area into that Table Field. Any help?

 

Update: there is a new screenshot to clarify this issue further. Please see it for details. Thank you.

post-378255-0-04195100-1342546905_thumb.png

Edited by McArdle's (see edit history)
Link to comment
Share on other sites

Hello,

 

To do what you want, I think you will have to 'modify' (best is override) the orderDetailController and his tpl to send and get the messages to insert them in database.

 

After that you will also need to modify pdf output to print them.

 

The order detail is not a form, then you would have to retrieve messages by sending them with ajax.

 

A lot of work.

 

Good dev

Edited by math_php (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...