Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2011
    Location
    chiangmai
    Posts
    3
    Plugin Contributions
    0

    Default Donation available

    Hi everybody I Gil new to this forum.
    On my customer site www.berlem.net we would like to include an option donate from 2 to 10% of the amount , to social welfare ( goes to Africa) only if the custumer select the option from a scrolldown menu in the shopping cart and this percentage to be added on the checkout invoice. I don't know if it is possible to do it and how ? any advice will be much appreciated.

    We use windows XP sp3
    ZC 1.3.9 b in both language EN/FR .
    A long search in this forum let me decided to contact you guys.
    Thanks to you for any kind of help provided
    Gil

  2. #2
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Donation available

    The only way that I have found to do something similar is to add a 'donation' product to the cart. In that case the amount 'rounded up' the total to the nearest dollar. Creating a variable price product is kind of interesting. I'll pm you the address of that site.

    Another way of doing what you want might be to write an order total module that added the percentage. The user's selection would need to be stored in a session variable probably with the dropdown setting that session variable.

    Basically, it is going to take a bit of coding and might be beyond the scope of a forum post :-) but should be possible.

    Maybe someone else has a better solution.

  3. #3
    Join Date
    May 2011
    Location
    Northumberland
    Posts
    48
    Plugin Contributions
    0

    Default Re: Donation available

    Quote Originally Posted by niccol View Post
    The only way that I have found to do something similar is to add a 'donation' product to the cart. In that case the amount 'rounded up' the total to the nearest dollar. Creating a variable price product is kind of interesting. I'll pm you the address of that site.


    Maybe someone else has a better solution.
    I like this idea of people being able to get to the checkout and see there order is 28.75 and being able to add just the 1.25 to make a round 30, can this be done when at the checkout screen?

    Malc

  4. #4
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Donation available

    Not really - as that site stands it is a demonstration of it being added as a variable price product rather than an order total. So it happens at cart level rather than checkout level.

    If you wanted it to happen at checkout rather than shopping cart stage, it would probably need to be an order total nodule that worked on a session variable. There'd need to be a bit of thought about that because you'd need to refresh the page if someone chose to donate and ensure that all the information was passed to the refreshed page.

    It would however, be a better system because you could accommodate shipping and taxes. And because the other version is a bit of a hack rather than a beautiful module to be honest.

    It's do-able but would involve entirely new coding. So, it probably depends on whether you can do that coding yourself or if you are happy to pay someone to do it for you.

  5. #5
    Join Date
    May 2011
    Location
    Northumberland
    Posts
    48
    Plugin Contributions
    0

    Default Re: Donation available

    Way beyond my league, thanks for info though
    malc

  6. #6
    Join Date
    Jan 2008
    Location
    Portland, Oregon USA
    Posts
    356
    Plugin Contributions
    0

    Default Re: Donation available

    You might take a look at That Software Guy's site - he has a round-up for charity checkout module that won't do exactly what you want, but it might be a start.

    Cheers
    Doug

  7. #7
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Donation available

    Ha ha! There you go. That would have helped two years ago when I coded my solution :-)

  8. #8
    Join Date
    Jun 2011
    Location
    chiangmai
    Posts
    3
    Plugin Contributions
    0

    Default Re: Donation available

    Well thanks for this link it may be similar of what I want to do I will check it seriously to see if suitable for my client. As i'm not specialist in programmation php, mysql.

 

 

Similar Threads

  1. v155 Data Available - Make stock available mod , does it exist ?
    By mesnitu in forum General Questions
    Replies: 3
    Last Post: 19 Jun 2016, 08:35 PM
  2. Donation
    By Faunis in forum General Questions
    Replies: 8
    Last Post: 17 Oct 2006, 12:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg