- Posts: 317
- Thank you received: 20
Add a custom text field to product checkout?
Thanks,
-JG
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
I think that you'll probably find your answer there :
Hope this will help you.You have two possibilities:
1. You can create a custom field of the table "order" via the menu Display->Custom fields. The field will appear during the checkout and attached to the order.
2. You can create a custom field of the table "item" via the menu Display->Custom fields. The field will appear on the product page and attached to the product in the cart (and later on to the product in the order).
In both cases, that is only possible with the Business edition. Also, in both cases, the information will be available in the emails and in the order details on the back end.
Please Log in or Create an account to join the conversation.
In regards to the custom fields in the email messages; where do I change the code a bit to have the custom fields more compresesd as well as has the product name only bolded so it is distinct when more than one item is purchased. See attached screenshot where I boxed the item that I would like bolded but not the custom fields underneath.
Thanks
Please Log in or Create an account to join the conversation.
Found the code to edit in the order creation email notice to customer:
echo '<p style="margin:0;">'.$fieldsClass->getFieldName($field).': '.$fieldsClass->show($field,$item->$namekey).'</p>';
Please Log in or Create an account to join the conversation.