At what level? To the add to cart form, or to the cart?
For the Add to Cart form, there’s sample code here:
https://github.com/joedolson/plugin-extensions/blob/master/my-tickets/custom-fields.php
At both levels thanks. Have added the extension but don’t know how to make it show on front page 🙁 What files are the current fields in Thanks.
What do you mean by ‘on front page’? The extension requires modification; it’s not a plug-in intended to be used out right.
I don’t have an example available for how to add custom fields to the cart right now; I’ll work on that when I have a chance. It uses the filter ‘mt_cart_custom_fields’ to add them and the action ‘mt_handle_custom_cart_data’ to process them, for reference.