Creating a charity option – save choices
-
Hi I am a new developer creating a website and wanted to add some back-end functionalities. I was conflicted about putting this topic on the woocommerce forums, but I figured there might be a solution that is more inherent to wordpress – that’s why I placed it here.
I have a website with an e-commerce section, which is using woocommerce. What I would like to do is create a section during checkout where users may choose what type of ‘charity’ they want to donate some of their proceedings to. This will be the following: ‘animals’, ‘children’, ‘elderly’, ‘random’
What I would like to do is have this option saved somewhere on the back-end with the order, so I could later utilize it to fulfill that ‘wish’. I would also like to be able to access this data so I could visualize it on the website as well.
The actual UI of ‘choosing’ one of these charity options will be created by me using standard html/css. I was just wondering how I can ‘hook’ this to the wordpress back-end and have it save the options with the orders.
Sorry if weirdly worded, thank you for your time.
- The topic ‘Creating a charity option – save choices’ is closed to new replies.