jfrountree Posted December 29, 2006 Share Posted December 29, 2006 I'm setting up a clean install of osCommerce for a shopping cart I'm doing. I'm curious how easy it might be to add another payment step that gives the user the option to select from a list of charities that a portion of their sale total would be going to. The percentage would be something like 50% and if they selected more than 1 charity it would just divide up that 50% amongs the charities. At the end of the month I will tally up all of the charity moneys for each charity and cut them a check so it would have to be stored in the db so that I could run my own queries off of it and figure up a total per month. Any input would be much appreciated. Thank you, Josh Link to comment Share on other sites More sharing options...
chrisjat Posted December 29, 2006 Share Posted December 29, 2006 I am not sure about at the checkout process, but you could add Products Attributes to each procuct where they can select what charity they would like to contibute to. Then just add a note either on the product php file or in each description that 50% of their ect..ect... They would have to do this for each product they are buying, but that could be fun. dun know. Sounds like the easiest way to go. ---------------------- I guess another way (yes, I am lazy) would be to setup more than one of your payment methods labled with the charity. example: Paypal (50% of blah blah donated to CHARITY1) Paypal (50% of blah blah donated to CHARITY2) Paypal (50% of blah blah donated to CHARITY3) Link to comment Share on other sites More sharing options...
jfrountree Posted December 29, 2006 Author Share Posted December 29, 2006 I am not sure about at the checkout process, but you could add Products Attributes to each procuct where they can select what charity they would like to contibute to. Then just add a note either on the product php file or in each description that 50% of their ect..ect... They would have to do this for each product they are buying, but that could be fun. dun know. Sounds like the easiest way to go.---------------------- I guess another way (yes, I am lazy) would be to setup more than one of your payment methods labled with the charity. example: Paypal (50% of blah blah donated to CHARITY1) Paypal (50% of blah blah donated to CHARITY2) Paypal (50% of blah blah donated to CHARITY3) Thank you for your help. I'm interested to hear other ideas as well. I'm a developer so it's possible for me to add this functionality in myself. I had an idea last night that might be easier to do than the checkout process which would include making it apart of the users settings. They can save it to their profile that they want their sales to go to a certain charity and then I could run the query based on sales for that user and throw the percentage in their for each charity they have selected in another table so not a whole lot of db changes would need done to the actual existing structure. Unsure of anyone elses thoughts on this... Please advise! Thank you so much! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.